bool ClipPlaneEnabled

book_4_sparkGenerated
code_blocksInput

Description

The ClipPlaneEnabled field in the SceneObject class is a boolean value that determines whether the clipping plane, defined by the ClipPlane field, is used for rendering the scene object. When set to true, the clipping plane is active, and the scene object will be clipped according to the plane's parameters. 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 setting the ClipPlaneEnabled field
SceneObject mySceneObject = new SceneObject();

// Enable the clipping plane
mySceneObject.ClipPlaneEnabled = true;

// Disable the clipping plane
mySceneObject.ClipPlaneEnabled = false;