Description
The AfterUI
property of the RenderOptions
class specifies whether rendering should occur after the user interface (UI) has been rendered. This can be useful for rendering elements that need to appear on top of the UI, such as post-processing effects or overlays that should not be obscured by UI elements.
Usage
To use the AfterUI
property, you can set it to true
or false
depending on whether you want the rendering to occur after the UI. This property is part of the RenderOptions
class, which can be applied to a SceneObject
to control its rendering behavior.
Example
RenderOptions renderOptions = new RenderOptions();
renderOptions.AfterUI = true;
SceneObject mySceneObject = new SceneObject();
renderOptions.Apply(mySceneObject);
// This will ensure that the rendering of mySceneObject occurs after the UI is rendered.