ReadonlyareaThe area this session is using, or null if it was opened without one.
ReadonlyonCalled when a previously saved anchor is found nearby. Set it on an AnchorComponent to track it.
Create an anchor at a world position (world-from-anchor). Set the returned Anchor on an AnchorComponent to start tracking.
Permanently delete a saved anchor. Tracking stops immediately.
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.
Turn a saved anchor id (from Anchor.id) back into an anchor you can track.
Save an anchor so it can be found again in later sessions via onAnchorNearby.
Optionaloptions: SaveOptions
Your connection to the anchor system for an area. Use it to create, save, delete, discover, and track anchors. Close it only when tracking is no longer required.
Since
Lens Scripting Version 376
Snap OS