setExposure

actual fun setExposure(aperture: Float, shutterSpeed: Float, sensitivity: Float)

Set the camera's exposure using physical camera parameters.

Default: aperture = f/16, shutter speed = 1/125s, ISO = 100. This provides adequate exposure for a sunny outdoor scene with the sun at zenith.

Exposure ultimately controls overall scene brightness. For a scene with sun-like lighting (≈100,000 lux), these defaults work well.

Parameters

aperture

F-stops (clamped 0.5-64); lower values increase exposure (brighter)

shutterSpeed

Seconds (clamped 1/25,000 to 60); lower increases exposure

sensitivity

ISO (clamped 10-204,800); higher increases exposure


actual fun setExposure(exposure: Float)

Set the camera's exposure directly (unit-less approach).

Useful for matching lighting from other engines/tools. Sets aperture = 1.0, shutter = 1.2, and computes sensitivity to match the desired exposure. For exposure = 1.0, sensitivity is set to 100 ISO.

Parameters

exposure

Unit-less exposure value

expect fun setExposure(aperture: Float, shutterSpeed: Float, sensitivity: Float)

Set the camera's exposure using physical camera parameters.

Default: aperture = f/16, shutter speed = 1/125s, ISO = 100. This provides adequate exposure for a sunny outdoor scene with the sun at zenith.

Exposure ultimately controls overall scene brightness. For a scene with sun-like lighting (≈100,000 lux), these defaults work well.

Parameters

aperture

F-stops (clamped 0.5-64); lower values increase exposure (brighter)

shutterSpeed

Seconds (clamped 1/25,000 to 60); lower increases exposure

sensitivity

ISO (clamped 10-204,800); higher increases exposure


expect fun setExposure(exposure: Float)

Set the camera's exposure directly (unit-less approach).

Useful for matching lighting from other engines/tools. Sets aperture = 1.0, shutter = 1.2, and computes sensitivity to match the desired exposure. For exposure = 1.0, sensitivity is set to 100 ISO.

Parameters

exposure

Unit-less exposure value

actual fun setExposure(aperture: Float, shutterSpeed: Float, sensitivity: Float)

Set the camera's exposure using physical camera parameters.

Default: aperture = f/16, shutter speed = 1/125s, ISO = 100. This provides adequate exposure for a sunny outdoor scene with the sun at zenith.

Exposure ultimately controls overall scene brightness. For a scene with sun-like lighting (≈100,000 lux), these defaults work well.

Parameters

aperture

F-stops (clamped 0.5-64); lower values increase exposure (brighter)

shutterSpeed

Seconds (clamped 1/25,000 to 60); lower increases exposure

sensitivity

ISO (clamped 10-204,800); higher increases exposure


actual fun setExposure(exposure: Float)

Set the camera's exposure directly (unit-less approach).

Useful for matching lighting from other engines/tools. Sets aperture = 1.0, shutter = 1.2, and computes sensitivity to match the desired exposure. For exposure = 1.0, sensitivity is set to 100 ISO.

Parameters

exposure

Unit-less exposure value

actual fun setExposure(aperture: Float, shutterSpeed: Float, sensitivity: Float)

Set the camera's exposure using physical camera parameters.

Default: aperture = f/16, shutter speed = 1/125s, ISO = 100. This provides adequate exposure for a sunny outdoor scene with the sun at zenith.

Exposure ultimately controls overall scene brightness. For a scene with sun-like lighting (≈100,000 lux), these defaults work well.

Parameters

aperture

F-stops (clamped 0.5-64); lower values increase exposure (brighter)

shutterSpeed

Seconds (clamped 1/25,000 to 60); lower increases exposure

sensitivity

ISO (clamped 10-204,800); higher increases exposure


actual fun setExposure(exposure: Float)

Set the camera's exposure directly (unit-less approach).

Useful for matching lighting from other engines/tools. Sets aperture = 1.0, shutter = 1.2, and computes sensitivity to match the desired exposure. For exposure = 1.0, sensitivity is set to 100 ISO.

Parameters

exposure

Unit-less exposure value

actual fun setExposure(aperture: Float, shutterSpeed: Float, sensitivity: Float)

Set the camera's exposure using physical camera parameters.

Default: aperture = f/16, shutter speed = 1/125s, ISO = 100. This provides adequate exposure for a sunny outdoor scene with the sun at zenith.

Exposure ultimately controls overall scene brightness. For a scene with sun-like lighting (≈100,000 lux), these defaults work well.

Parameters

aperture

F-stops (clamped 0.5-64); lower values increase exposure (brighter)

shutterSpeed

Seconds (clamped 1/25,000 to 60); lower increases exposure

sensitivity

ISO (clamped 10-204,800); higher increases exposure


actual fun setExposure(exposure: Float)

Set the camera's exposure directly (unit-less approach).

Useful for matching lighting from other engines/tools. Sets aperture = 1.0, shutter = 1.2, and computes sensitivity to match the desired exposure. For exposure = 1.0, sensitivity is set to 100 ISO.

Parameters

exposure

Unit-less exposure value