setExposure abstract method

Future setExposure(
  1. double aperture,
  2. double shutterSpeed,
  3. double sensitivity
)

From Camera.h:

Sets this camera's exposure (default is f/16, 1/125s, 100 ISO)

The exposure ultimately controls the scene's brightness, just like with a real camera. The default values provide adequate exposure for a camera placed outdoors on a sunny day with the sun at the zenith.

@param aperture Aperture in f-stops, clamped between 0.5 and 64. A lower \p aperture value ///increases/// the exposure, leading to a brighter scene. Realistic values are between 0.95 and 32.

@param shutterSpeed Shutter speed in seconds, clamped between 1/25,000 and 60. A lower shutter speed increases the exposure. Realistic values are between 1/8000 and 30.

@param sensitivity Sensitivity in ISO, clamped between 10 and 204,800. A higher \p sensitivity increases the exposure. Realistic values are between 50 and 25600.

@note With the default parameters, the scene must contain at least one Light of intensity similar to the sun (e.g.: a 100,000 lux directional light).

Implementation

Future setExposure(
    double aperture, double shutterSpeed, double sensitivity);