Skip to main content

TrackCoordinate2D <Tracked3D>

Represents information on a 3D coordinate’s location on screen (2D).

Hierarchy

Index

Properties

readonlydistance

distance: number

If active camera is a perspective camera, this is the distance from the camera to the 3D coordinate For an orthographic camera, it is the height of the frustum.

readonlyid

id: unknown

Id of tracked 3D coordinate

readonlyposition

position: DeepImmutableObject<Vertex2>

Position in 2D of trackedCoordinate

readonlystate

Current state. Tells whether item is detached, added, updated or deleted.

readonlytrackedCoordinate

trackedCoordinate: Tracked3D

3D coordinate we subscribed to.

readonlyvisible

visible: boolean

Whether the 3D coordinate is visible on screen or not