This could be a silly question, but: how do you get the current alpha value from the colour of a model that is used in one entity in the scene?
Let’s say that i have an entity in the scene whose model’s color is white, with a 0.5 alpha value. If i write this:
i would get as output “(1, 1, 1, 0.5)” for the first instruction, and “undefined” for the second.
Is viewer.entities.values.model.color not a Color type? How do i access the alpha value of this color?