Skip to content

TELEPORT.CameraPose

Represents an isolated camera pose or trajectory node extracted from a capture.

Constructor#

new CameraPose({ position, target, rotation, label })

Parameters:

  • Object with:
    • position (THREE.Vector3): The 3D world position of the camera.
    • target (THREE.Vector3): The 3D point in space the camera is focused on.
    • rotation (THREE.Quaternion): The rotational context of the camera pose.
    • label (string, optional): Friendly name describing this camera pose position. Defaults to "Camera Pose".

Attributes#

position#

Returns the THREE.Vector3 for the 3D world position of the camera.

target#

Returns the THREE.Vector3 for the 3D point in space the camera is focused on.

rotation#

Returns (THREE.Quaternion) for the rotational context of the camera pose.

label#

Returns the string associated to the camera pose.


Methods#

applyTo(threeCamera)#

Snaps a standard Three.js Camera to this CameraPose's position and target.

Parameters:

  • threeCamera (THREE.Camera): The active application camera object.