docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryAddAnchor

    TryAddAnchor(Pose, out XRAnchor)

    Should create a new anchor with the provided pose.

    Declaration
    public virtual bool TryAddAnchor(Pose pose, out XRAnchor anchor)
    Parameters
    Type Name Description
    Pose pose

    The pose, in session space, of the new anchor.

    XRAnchor anchor

    The new anchor. Must be valid only if this method returns true.

    Returns
    Type Description
    bool

    Should return true if the new anchor was added, otherwise false.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023