robot_2Generated
code_blocksInput

Description

The ShowUV field is a member of the SceneCameraDebugMode enumeration in the Sandbox API. It represents a debug mode for the scene camera that visualizes the UV maps of objects in the scene. This mode is useful for developers and artists who need to inspect the UV mapping of models to ensure they are correctly applied.

Usage

To use the ShowUV mode, set the scene camera's debug mode to SceneCameraDebugMode.ShowUV. This will render the scene with a focus on displaying the UV maps of the objects, allowing you to verify their correctness and alignment.

Example

// Example of setting the scene camera to ShowUV debug mode
SceneCamera camera = Scene.Current.Camera;
camera.DebugMode = SceneCameraDebugMode.ShowUV;