robot_2Generated
code_blocksInput

Description

The NormalMap field is a member of the SceneCameraDebugMode enumeration in the Sandbox API. It represents a debug mode that visualizes world-space normals in the scene. This mode is useful for developers and artists to inspect the normal vectors of surfaces in the scene, which can help in debugging lighting and shading issues.

Usage

To use the NormalMap debug mode, set the camera's debug mode to SceneCameraDebugMode.NormalMap. This will render the scene with colors representing the world-space normals of each surface.

Example

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