book_4_sparkGenerated
code_blocksInput

Description

The SceneCameraDebugMode.FullBright field is a member of the SceneCameraDebugMode enumeration in the Sandbox namespace. This field represents a debug mode for the scene camera where all lighting effects are disabled, resulting in a fully bright scene. This mode is useful for visualizing the scene without any lighting influences, allowing developers to focus on geometry and texture details.

Usage

To use the FullBright mode, set the scene camera's debug mode to SceneCameraDebugMode.FullBright. This can be particularly useful during development and debugging when you need to inspect the scene's geometry and textures without the interference of lighting effects.

Example

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

// This will render the scene with full brightness, ignoring all lighting effects.