Skip to content

Camera

An immutable camera for image export. Positions are world meters.

new Camera(eye, target, options?): Camera

Creates a camera at eye looking at target.

Point3dLike

Point3dLike

CameraOptions

Camera

readonly eye: Point3d

Camera position.


readonly fieldOfView: number

Vertical field of view in degrees.


readonly perspective: boolean

true for a perspective camera and false for a parallel projection.


readonly target: Point3d

The point the camera looks at.


readonly up: Vector3d

Up direction.