SceneCameraDebugMode ShaderIDColor

robot_2Generated
code_blocksInput

Description

The ShaderIDColor field is a member of the SceneCameraDebugMode enumeration in the Sandbox API. This field represents a specific debug mode that visualizes shader IDs using color coding. It is useful for developers who need to debug or analyze the shader assignments within a scene.

Usage

To use the ShaderIDColor debug mode, set the camera's debug mode to SceneCameraDebugMode.ShaderIDColor. This will render the scene with colors representing different shader IDs, allowing you to easily identify which shaders are applied to various objects in the scene.

Example

// Example of setting the camera debug mode to ShaderIDColor
SceneCamera camera = new SceneCamera();
camera.DebugMode = SceneCameraDebugMode.ShaderIDColor;