Lens

interface Lens

The camera's optics, as an instrument rather than as a projection matrix.

Every field is something a photographer sets. Nothing here is derived, and nothing here depends on the window: a lens taken through a resize is the same lens, which is the property the terrain selection and the framing solver both stand on.

lens.ts:97

Members

focalLengthreadonly

focalLength: number

Focal length, millimeters, before zoom.

focusreadonly

focus: number

Focus distance, meters. Infinity is a lens racked to the stop.

fStopreadonly

fStop: number

f-number: focal length over aperture diameter.

gaugereadonly

gauge: number

Vertical extent of the sensor, millimeters.

isoreadonly

iso: number

Sensor gain, ISO.

shutterreadonly

shutter: number

Shutter time, seconds.

zoomreadonly

zoom: number

Multiplier on the focal length. 1 is the lens's own.

Zoom is not the dolly and it is not framing — it magnifies without moving the camera, so it changes no parallax and no occlusion. The planetarium gives each of the three acts its own control, because one control cannot describe all three without saying something false about two of them.