SceneCameraDebugMode DebugMode { get; set; }

robot_2Generated
code_blocksInput

Description

The DebugMode property of the SceneCamera class allows you to render the camera using a different render mode. This can be useful for debugging purposes, as it enables you to visualize the scene in various ways, such as wireframe or other diagnostic views.

Usage

To use the DebugMode property, you can set it to one of the values defined in the SceneCameraDebugMode enumeration. This will change the way the camera renders the scene, allowing you to inspect different aspects of the rendering process.

Example

// Example of setting the DebugMode property
SceneCamera camera = new SceneCamera();
camera.DebugMode = SceneCameraDebugMode.Wireframe; // Set the camera to render in wireframe mode

// Render the scene with the camera
camera.Render();