self:set_auto_exposure_scale

Client

Sets the auto exposure scale of the camera


Syntax

local status = self:set_auto_exposure_scale(
    scale
)

Parameters

TypeNameDescription
floatscaleAuto exposure scale value to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set the auto exposure scale of a camera
local entity = core.camera.create()

entity:set_auto_exposure_enabled(true)
entity:set_auto_exposure_scale(1.0)

On this page