Description
The RenderOverride
field in the SceneCustomObject
class is a delegate of type System.Action<SceneObject>
. It is invoked by the default implementation of the RenderSceneObject
method. This field allows you to specify custom rendering logic for a scene object by assigning a method to it.
Usage
To use the RenderOverride
field, assign a method that matches the System.Action<SceneObject>
delegate signature. This method will be called during the rendering process of the scene object, allowing you to implement custom rendering behavior.
Example usage:
SceneCustomObject myObject = new SceneCustomObject();
myObject.RenderOverride = (sceneObject) => {
// Custom rendering logic here
};
Example
SceneCustomObject myObject = new SceneCustomObject();
myObject.RenderOverride = (sceneObject) => {
// Custom rendering logic here
};