Sandbox.Tonemapping/ExposureColorSpaceEnum ExposureMethod { get; set; }

robot_2Generated
code_blocksInput

Description

The ExposureMethod property of the Tonemapping class specifies the method used for exposure adjustment in the tonemapping process. It determines how the exposure is calculated and applied to the scene, affecting the overall brightness and contrast of the rendered image.

Usage

To use the ExposureMethod property, you need to have an instance of the Tonemapping class. You can set this property to one of the values defined in the ExposureColorSpaceEnum enumeration to control the exposure method used during tonemapping.

Example

// Create an instance of the Tonemapping class
Tonemapping tonemapping = new Tonemapping();

// Set the exposure method to a specific value from the ExposureColorSpaceEnum
tonemapping.ExposureMethod = ExposureColorSpaceEnum.Linear;