I am not a big coder and I want to ask if you can give me a specific line whcih I should enter when I want to trigger the opacity / transparency.
I’ve seen some vague threads with “setmaterial” but I am a bit confused.
Can someone please give me a real code line? That would be awesome
Let’s say I’ve got material names like “bread”, “butter”, “honey”.
Annotation 1 shall make “bread” transparent and the other two materials opaque.
Do I type into the Comment Section of the Annotations something like that?
api.setmaterial (bread, opacity (0));
api.setmaterial (butter, opacity (1));
api.setmaterial (honey, opacity (1));
And when I have the right code, do I really type it into the Comment Section or shall I add this somehow to the homepage when I embed it there … ?
Thanks for your answers in advance. I am a bit desparate.