bool AfterUI { get; set; }

book_4_sparkGenerated
code_blocksInput

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

// Example of setting the AfterUI property
RenderOptions renderOptions = new RenderOptions();
renderOptions.AfterUI = true;

// Apply the render options to a scene object
SceneObject mySceneObject = new SceneObject();
renderOptions.Apply(mySceneObject);