reckfellENGINE

CameraAttributes

Parent class for camera settings.

On this page
class CameraAttributesReckfellSharpInherits Resource

Parent class for camera settings.

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.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

CameraAttributesConstructor
# CameraAttributes
C#
public CameraAttributes();

Properties5

AutoExposureEnabledProperty
# AutoExposureEnabled
C#
public bool AutoExposureEnabled { get; set; }

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.

AutoExposureScaleProperty
# AutoExposureScale
C#
public float AutoExposureScale { get; set; }

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

AutoExposureSpeedProperty
# AutoExposureSpeed
C#
public float AutoExposureSpeed { get; set; }

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

ExposureMultiplierProperty
# ExposureMultiplier
C#
public float ExposureMultiplier { get; set; }

Explicit camera lighting-normalization multiplier, active with physical light units enabled or disabled. Not an EV stop count and not the same control as Environment.TonemapExposure. Unshaded ALBEDO bypasses this normalization in the tested Forward+ path.

ExposureSensitivityProperty
# ExposureSensitivity
C#
public float ExposureSensitivity { get; set; }

ISO sensitivity. In CameraAttributesPhysical with physical units enabled and fixed exposure, 100 to 200 doubles light normalization. Ignored for physical normalization when that mode is disabled. Does not add sensor noise; auto exposure can change the observed result.

Methods10

GetAutoExposureScalefloat
# GetAutoExposureScale
C#
public float GetAutoExposureScale();
Returns float
GetAutoExposureSpeedfloat
# GetAutoExposureSpeed
C#
public float GetAutoExposureSpeed();
Returns float
GetExposureMultiplierfloat
# GetExposureMultiplier
C#
public float GetExposureMultiplier();

Returns the current ExposureMultiplier value. Explicit camera lighting-normalization multiplier, active with physical light units enabled or disabled. Not an EV stop count and not the same control as Environment.TonemapExposure. Unshaded ALBEDO bypasses this normalization in the tested Forward+ path.

Returns float

Current ExposureMultiplier value in the units described for that property.

GetExposureSensitivityfloat
# GetExposureSensitivity
C#
public float GetExposureSensitivity();

Returns the current ExposureSensitivity value. ISO sensitivity. In CameraAttributesPhysical with physical units enabled and fixed exposure, 100 to 200 doubles light normalization. Ignored for physical normalization when that mode is disabled. Does not add sensor noise; auto exposure can change the observed result.

Returns float

Current ExposureSensitivity value in the units described for that property.

IsAutoExposureEnabledbool
# IsAutoExposureEnabled
C#
public bool IsAutoExposureEnabled();
Returns bool
SetAutoExposureEnabledvoid
# SetAutoExposureEnabled
C#
public void SetAutoExposureEnabled(bool enabled);
Parameters
NameTypeDefault
enabledbool—
SetAutoExposureScalevoid
# SetAutoExposureScale
C#
public void SetAutoExposureScale(float exposureGrey);
Parameters
NameTypeDefault
exposureGreyfloat—
SetAutoExposureSpeedvoid
# SetAutoExposureSpeed
C#
public void SetAutoExposureSpeed(float exposureSpeed);
Parameters
NameTypeDefault
exposureSpeedfloat—
SetExposureMultipliervoid
# SetExposureMultiplier
C#
public void SetExposureMultiplier(float multiplier);

Sets ExposureMultiplier. Explicit camera lighting-normalization multiplier, active with physical light units enabled or disabled. Not an EV stop count and not the same control as Environment.TonemapExposure. Unshaded ALBEDO bypasses this normalization in the tested Forward+ path.

Parameters
NameTypeDefault
multiplierfloat—
multiplier

Explicit camera lighting-normalization multiplier, active with physical light units enabled or disabled. Not an EV stop count and not the same control as Environment.TonemapExposure. Unshaded ALBEDO bypasses this normalization in the tested Forward+ path.

SetExposureSensitivityvoid
# SetExposureSensitivity
C#
public void SetExposureSensitivity(float sensitivity);

Sets ExposureSensitivity. ISO sensitivity. In CameraAttributesPhysical with physical units enabled and fixed exposure, 100 to 200 doubles light normalization. Ignored for physical normalization when that mode is disabled. Does not add sensor noise; auto exposure can change the observed result.

Parameters
NameTypeDefault
sensitivityfloat—
sensitivity

ISO sensitivity. In CameraAttributesPhysical with physical units enabled and fixed exposure, 100 to 200 doubles light normalization. Ignored for physical normalization when that mode is disabled. Does not add sensor noise; auto exposure can change the observed result.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.