Preparing search index...

    A saved place the system can recognise and track — an identity plus metadata. Passive: holding an Anchor does not track it (set it on an AnchorComponent to track). Always obtained from an AnchorModule.AnchorSession (create, discover, or resolve).

    Lens Scripting Version 376

    Hierarchy (View Summary)

    Index

    Properties

    anchorType: AnchorType

    What kind of anchor this is.

    Lens Scripting Version 376

    area: string

    The area this anchor belongs to, or null if created in a session without an area.

    Lens Scripting Version 376

    id: string

    A string you can store to refer to this anchor later, then restore it with resolveAnchor().

    Lens Scripting Version 376

    scope: Private

    Who can access this anchor.

    Lens Scripting Version 376

    Methods

    • Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().

      Returns string

      Lens Scripting Version 376

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean