Module camera

Source

Structsยง

Camera
Dependents

Enumsยง

CameraMode

Constantsยง

CLIPPING_MODE_RANGE ๐Ÿ”’
FAR_PLANE
FIRST_PERSON_INTERP_TIME ๐Ÿ”’
FREEFLY_INTERP_TIME ๐Ÿ”’
LERP_ORI_RATE ๐Ÿ”’
MIN_ZOOM
NEAR_PLANE
THIRD_PERSON_INTERP_TIME ๐Ÿ”’

Functionsยง

clamp_and_modulate ๐Ÿ”’
perspective_lh_zo_general
Generalized method to construct a perspective projection with x โˆˆ [-1,1], y โˆˆ [-1,1], z โˆˆ [0,1] given fov_y_radians, aspect_ratio, 1/n, and 1/f. Note that you pass in 1/n and 1/f, not n and f like you normally would for a perspective projection; this is done to enable uniform handling of both finite and infinite far planes.
perspective_rh_zo_general
Same as perspective_lh_zo_general, but for right-handed source spaces.