Class reference

CameraAttributes

Inherits Resource

Parent class for camera settings.

Description

Controls camera-specific attributes such as depth of field and exposure override. When used in a WorldEnvironment it provides default settings for exposure, auto-exposure, and depth of field that will be used by all cameras without their own CameraAttributes, including the editor camera. When used in a Camera3D it will override any CameraAttributes set in the WorldEnvironment. When used in VoxelGI or LightmapGI, only the exposure settings will be used. See also Environment for general 3D environment settings. This is a pure virtual class that is inherited by CameraAttributesPhysical and CameraAttributesPractical.

Properties

bool auto_exposure_enabled = false

If true, enables the tonemapping auto exposure mode of the scene renderer. If true, the renderer will automatically determine the exposure setting to adapt to the scene's illumination and the observed light. Note: Auto-exposure is only supported in the Forward+ rendering method, not Mobile or Compatibility.

float auto_exposure_scale = 0.4

The scale of the auto exposure effect. Affects the intensity of auto exposure.

float auto_exposure_speed = 0.5

The speed of the auto exposure effect. Affects the time needed for the camera to perform auto exposure.

float exposure_multiplier = 1.0

Multiplier for the exposure amount. A higher value results in a brighter image.

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.