docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Get Anchors

    Save all AR Anchors to the input List.

    Get Anchors
    Get Anchors node, shown with Get Variable

    Input Data Ports

    Port Data type Description
    Manager ARAnchorManager An active and enabled ARAnchorManager. If you do not connect this port, this node searches for an enabled AR Anchor Manager component in the scene instead, and throws an exception if none is found.
    List List of ARAnchor Where to save the AR Anchors. This node clears the list, then adds the anchors. If you do not connect this port, this node allocates a new list instead.
    Tip

    If your Script Machine Source is set to Graph, your graph asset cannot directly reference GameObjects in the scene. Use a Get Variable node to reference instantiated GameObjects.

    Output Data Ports

    Port Data type Description
    List List of ARAnchor The same List you connected to the Input port, now containing all AR Anchors.
    In This Article
    • Input Data Ports
    • Output Data Ports
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)