Skip to main content

Type Alias: CameraAnimation

CameraAnimation = object

A CameraAnimation specifies a discrete state that the camera should animate to. This state represents the final position of the camera after animations have run.

Properties​

latDeg​

readonly latDeg: number

The latitude in degrees the camera should animate to.


lonDeg​

readonly lonDeg: number

The longitude in degrees the camera should animate to.


radius?​

readonly optional radius?: number

A value in scene units specifying camera distance from the target.


target?​

readonly optional target?: object

An optional target for the camera to focus on in the scene.

x​

readonly x: number

y​

readonly y: number

z​

readonly z: number