float MaximumExposure { get; set; }

robot_2Generated
code_blocksInput

Description

The MaximumExposure property of the Tonemapping class defines the upper limit of exposure adjustment when auto exposure is enabled. This property is part of the auto exposure settings group and is used to control the maximum brightness level that the tonemapping effect can apply to the camera.

Usage

To use the MaximumExposure property, ensure that the AutoExposureEnabled property is set to true. This will allow the MaximumExposure setting to take effect. The value of MaximumExposure can be adjusted within the range of 0 to 5, with a default increment of 0.01.

Example

// Example of setting the MaximumExposure property
Tonemapping tonemapping = new Tonemapping();
tonemapping.AutoExposureEnabled = true;
tonemapping.MaximumExposure = 3.5f;

// This sets the maximum exposure level to 3.5 when auto exposure is enabled.