MAXScript Language Reference > 3ds Max Objects > ToneOperator: MAXWrapper >

# Linear_Exposure_Control : ToneOperator

    Linear_Exposure_Control - superclass: ToneOperator; super-superclass:MAXWrapper - classID: #(1435071256, 886776236)

Value > MAXWrapper > ToneOperator > Linear_Exposure_Control

| Render and Bake Elements - Quick Navigation

The Linear Exposure Control samples the rendered image and uses the average brightness of the scene to map physical values to RGB values. Linear Exposure Control is best used for scenes with a fairly low dynamic range.

Constructors

    Linear_Exposure_Control ... AutomaticLinearExposureControl ...

Properties

    <Linear_Exposure_Control>.active Boolean default: true -- boolean

Enable/Disable the Tone Operator. Changes the state of the Active checkbox in the Environment/Exposure Control rollout

    <Linear_Exposure_Control>.brightess Float default: 50.0 -- animatable; percentage; Brightness

Get/Set the Brightness value of the Tone Operator.

    <Linear_Exposure_Control>.chromaticAdaptation Boolean default: false -- boolean; Chromatic_Adaptation

Get/Set the Chromatic Adaptation value of the Tone Operator. Corresponds to the Color Correction checkbox in the Tone Operator’s rollout.

    <Linear_Exposure_Control>.colorDifferentiation Boolean default: false -- boolean; Color_Differentiation

Get/Set the Color Differentiation value of the Tone Operator. Corresponds to the Desaturate Low Levels checkbox in the Tone Operator’s rollout.

    <Linear_Exposure_Control>.contrast Float default: 50.0 -- animatable; percentage

Get/Set the Contrast value of the Tone Operator.

    <Linear_Exposure_Control>.exposureValue Float default: 0.0 -- animatable; float; Exposure_Value

Get/Set the Exposure value of the Tone Operator.

    <Linear_Exposure_Control>.physicalScale Float default: 1500.0 -- animatable; float; Physical_Scale

Get/Set the physicalScale value of the Tone Operator.

    <Linear_Exposure_Control>.processBG Boolean default: false -- boolean; Process_Background

Get/Set the state of the processBG value corresponding to the"Process Background and Environment Maps"checkbox in the Tone Operator’s rollout. When set to true , the Tone Operator will affect the background.

    <Linear_Exposure_Control>.whiteColor Color default: (color 255 255 255) -- animatable; RGB color; White_Color

Get/Set the whiteColor value of the Tone Operator. When the chromaticAdaptation is set to true , the Tone Operator will shift all colors so that the color set in whiteColor appears as white.

EXAMPLE
    --Create a new Linear Exposure Control Tone Operator instance:
    linear_exposure =Linear_Exposure_Control ()
    ReferenceTarget:Linear_Exposure_Control
    --Assign the new tone operator as the current exposure control:
    SceneExposureControl.exposureControl = linear_exposure
    ReferenceTarget:Linear_Exposure_Control
    --Disable the tone operator:
    linear_exposure.active = false
    false
    --Set the white color of the current exposure control to pink:
    SceneExposureControl.exposureControl.whiteColor = [255,200,200]
    [255,200,200]

#### See Also

- Interface: SceneExposureControl

- ToneOperator : MAXWrapper