Description
The ClipPlaneEnabled
field is a boolean value that determines whether the clipping plane defined in ClipPlane
is used for the SceneObject
. When set to true
, the clipping plane is active, affecting how the object is rendered in the scene. This field is marked as obsolete, indicating that it may be removed in future versions and should be avoided in new code.
Usage
To enable or disable the clipping plane for a SceneObject
, set the ClipPlaneEnabled
field to true
or false
respectively. Note that this field is obsolete, so consider using alternative methods or properties if available.
Example
// Example of enabling the clipping plane for a SceneObject
SceneObject mySceneObject = new SceneObject();
mySceneObject.ClipPlaneEnabled = true; // Enable the clipping plane
// Example of disabling the clipping plane for a SceneObject
mySceneObject.ClipPlaneEnabled = false; // Disable the clipping plane