self:set_auto_exposure_speed

Client

Sets the camera's auto exposure adaptation speed


Syntax

local status = self:set_auto_exposure_speed(
    speed
)

Parameters

TypeNameDescription
floatspeedAuto exposure speed
Controls how quickly the camera adapts to lighting changes

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set the auto exposure speed
local entity = core.camera.create()

entity:set_auto_exposure_enabled(true)
entity:set_auto_exposure_speed(1.0)

On this page