Color

What is the exact code to set the color and opacity of the actor. I am trying to render a .vtp file.

If you just want color and opacity to be set on the actor, you can do actor.getProperty().setColor(1, 1, 1) (for white color), and actor.getProperty().setOpacity(1) (for fully opaque).

1 Like