Description
The Opaque
property of the SceneLineObject
class determines whether the line object is rendered as opaque or transparent. When set to true
, the line is rendered as opaque, meaning it will not allow any light or other objects to be seen through it. When set to false
, the line is rendered as transparent, allowing for see-through effects.
Usage
To use the Opaque
property, simply set it to true
or false
depending on whether you want the line to be opaque or transparent. This property can be adjusted at runtime to dynamically change the rendering of the line object.
Example
// Create a new SceneLineObject
SceneLineObject lineObject = new SceneLineObject();
// Set the line to be opaque
lineObject.Opaque = true;
// Later, change the line to be transparent
lineObject.Opaque = false;