The anchor this component tracks. Set it to begin tracking; clear it (null) to stop.
If disabled, the Component will stop enacting its behavior.
ReadonlyisReturns true if this Component is currently being destroyed. Becomes true as soon as
destruction begins via Component#destroy or destruction of its owning SceneObject,
before any OnDestroyEvent callbacks fire.
ReadonlyisReturns true if this Component, its SceneObject, and all of that SceneObjects parents are enabled.
ReadonlyonCalled when the anchor's positional uncertainty changes. Roughly how accurate the tracked position is, in centimeters (~1σ).
ReadonlyonCalled when the anchor's tracking state changes (e.g. found or lost).
ReadonlysceneThe SceneObject this component is on.
ReadonlystateWhether the anchor is currently being tracked.
ReadonlyuniqueDestroys the component.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
StaticgetReturns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
The active tracker: set its AnchorModule.Anchor and it drives its SceneObject's transform, reporting per-frame tracking state. Add this Component to the SceneObject you want anchored, then assign an Anchor obtained from an AnchorModule.AnchorSession.
Since
Lens Scripting Version 376
Snap OS
Example