ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getCameraRenderExposure

Function

getCameraRenderExposure

ClientDrawing (dx)Trilogy Hub only

Returns the camera's current brightness multiplier and whether it is automatic.

Syntax

float, bool getCameraRenderExposure(element camera)

Arguments

cameraelement
The camera.

Returns

The multiplier and true for "auto" mode.

Example

local cam = createCameraRender(256, 256)
local gain, auto = getCameraRenderExposure(cam)

See also