The Flags
property provides access to various advanced scene object flags for a SceneObject
. These flags can be used to control specific behaviors or characteristics of the scene object within the rendering environment.
The Flags
property provides access to various advanced scene object flags for a SceneObject
. These flags can be used to control specific behaviors or characteristics of the scene object within the rendering environment.
Use the Flags
property to get or set specific flags on a SceneObject
. This can be useful for enabling or disabling certain features or optimizations that affect how the object is processed or rendered in the scene.
// Example of accessing and modifying the Flags property of a SceneObject SceneObject mySceneObject = new SceneObject(); // Access the Flags property var flags = mySceneObject.Flags; // Modify a specific flag flags.SetFlag(SceneObjectFlags.SomeFlag, true); // Check if a specific flag is set bool isFlagSet = flags.HasFlag(SceneObjectFlags.SomeFlag); // Clear a specific flag flags.ClearFlag(SceneObjectFlags.SomeFlag);