SceneWorld DebugSceneWorld { get; set; }

robot_2Generated
code_blocksInput

Description

The DebugSceneWorld property provides access to the SceneWorld used for debugging purposes within the Scene class. This property is useful for developers who need to interact with or manipulate the debug-specific scene world, which may include additional diagnostic or visualization features not present in the main scene world.

Usage

To access the DebugSceneWorld property, you need to have an instance of the Scene class. Once you have the instance, you can directly access the property to retrieve the SceneWorld used for debugging.

Example

// Assuming 'scene' is an instance of Sandbox.Scene
SceneWorld debugWorld = scene.DebugSceneWorld;

// Use debugWorld for debugging operations
// For example, you might want to visualize certain elements or perform debug-specific actions