Camera
An immutable camera for image export. Positions are world meters.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Camera(
eye,target,options?):Camera
Creates a camera at eye looking at target.
Parameters
Section titled “Parameters”target
Section titled “target”options?
Section titled “options?”Returns
Section titled “Returns”Camera
Properties
Section titled “Properties”
readonlyeye:Point3d
Camera position.
fieldOfView
Section titled “fieldOfView”
readonlyfieldOfView:number
Vertical field of view in degrees.
perspective
Section titled “perspective”
readonlyperspective:boolean
true for a perspective camera and false for a parallel projection.
target
Section titled “target”
readonlytarget:Point3d
The point the camera looks at.
readonlyup:Vector3d
Up direction.