Description
The Transmission
field is a member of the SceneCameraDebugMode
enumeration in the Sandbox API. It represents a specific debug mode for the scene camera, focusing on the transmission properties of materials in the scene. This mode is useful for visualizing how light passes through translucent materials, which can be critical for debugging and optimizing rendering techniques involving transparency and refraction.
Usage
To use the Transmission
debug mode, set the scene camera's debug mode to SceneCameraDebugMode.Transmission
. This will adjust the camera's rendering to highlight the transmission characteristics of materials, allowing developers to inspect and debug how light interacts with translucent surfaces.
Example
// Example of setting the scene camera to Transmission debug mode
SceneCamera.DebugMode = SceneCameraDebugMode.Transmission;