void ClearCommandLists( Stage stage )
void ClearCommandLists()

robot_2Generated
code_blocksInput

Description

The ClearCommandLists method is a member of the CameraComponent class in the Sandbox namespace. This method is used to remove all command list entries associated with a specific rendering stage. It is a public, non-static method that does not return any value.

Usage

To use the ClearCommandLists method, you need to have an instance of the CameraComponent class. You can then call this method and pass a Sandbox.Rendering.Stage object as a parameter to specify which stage's command lists should be cleared.

Example

// Assuming 'cameraComponent' is an instance of CameraComponent
Sandbox.Rendering.Stage stage = Sandbox.Rendering.Stage.Opaque;
cameraComponent.ClearCommandLists(stage);