Constructor
BIM Core API.
If true then it updates the 2D positions for each tracked 3D coordinate at the end of each frame.
ReadonlyonCalled when a tracked 3D coordinate changes its 2D position (when camera is manipulated). Same as onUpdate but using a Observable instead.
Removes all tracked coordinates from the tracker.
Disposes the coordinate tracker.
Allows iteration of all entities that are tracked (and their ids)
collection of all tracked entities and their id.
Immediately force a recalculation of all 2D coordinates
Attempt to get a currently tracked object by id.
Id of tracked object.
Tracked object if it exists. Otherwise undefined
Register a callback which will be called when the active camera moves. It is called once for each coordinate registered by track.
Callback to trigger when an active camera moves.
This method takes a coordinate in 3D to track screen space position when the camera moves. When method is called events on onUpdateObservable are immediately raised for the passed coordinate. Same coordinate can be passed multiple times (with same id) but it will only be added once. However events onUpdateObservable will still be immediately raised and report 2D coordinates data even if coordinate is already tracked.
Coordinate to track.
Optionalid: unknownOptional. If not specified an id will be generated
id of tracked coordinate.
Gets 2D coordinate of a 3D coordinate once.
3D coordinate to get 2D coordinate from
Identifier for 3D coordinate.
Stops tracking of a 3D coordinate.
Id of 3D coordinate to stop tracking
Object that was untracked. If there is no such object then undefined.
CoordinateTracker contains methods for tracking a screen space coordinate from a 3D position.