Skip to main content

Interface: CameraState

Defined in: src/core/ThreeDScene.ts:13

Full orbit-camera pose of a ThreeDScene: spherical angles and distance about the look-at point, plus the look-at point itself.

Properties​

distance​

distance: number

Defined in: src/core/ThreeDScene.ts:19

Distance from the camera to the look-at point.


lookAt​

lookAt: Vector3Tuple

Defined in: src/core/ThreeDScene.ts:21

The look-at point [x, y, z].


phi​

phi: number

Defined in: src/core/ThreeDScene.ts:15

Polar angle from the Z axis (radians).


theta​

theta: number

Defined in: src/core/ThreeDScene.ts:17

Azimuthal angle around the Z axis (radians).