Rayity

rayity > “camera” > CameraOptions

Interface: CameraOptions

Properties

«Optional» aperture

● aperture: Expression

Defined in camera.ts:53

Aperture size for depth of field

Default: 0


«Optional» eye

● eye: Expression

Defined in camera.ts:29

Location of the camera

Default: (0, 0, -1)


«Optional» fieldOfView

● fieldOfView: Expression

Defined in camera.ts:47

Field of view angle in radians

Default: 90 degrees


«Optional» focalFactor

● focalFactor: Expression

Defined in camera.ts:59

Focal distance relative to target distance

Default: 1


«Optional» target

● target: Expression

Defined in camera.ts:35

Location of the target

Default: (0, 0, 0)


«Optional» up

● up: Expression

Defined in camera.ts:41

Up direction vector

Default: (0, 1, 0)