book_4_sparkGenerated
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 UV maps. This mode is useful for developers and artists who need to inspect the UV mapping of objects within a scene, ensuring that textures are correctly aligned and mapped.

Usage

To use the ShowUV mode, set the scene camera's debug mode to SceneCameraDebugMode.ShowUV. This will render the scene with a visualization of the UV maps, allowing you to inspect how textures are applied to the surfaces of 3D models.

Example

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