docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRLoadAnchorResult

    The result of an operation to load an anchor from persistent storage.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public struct XRLoadAnchorResult

    Fields

    resultStatus

    The status of the load operation. If resultStatus.IsError(), do not read the xrAnchor value.

    Declaration
    public XRResultStatus resultStatus
    Field Value
    Type Description
    XRResultStatus

    savedAnchorGuid

    The persistent anchor GUID of the anchor requested to be loaded.

    Declaration
    public SerializableGuid savedAnchorGuid
    Field Value
    Type Description
    SerializableGuid

    xrAnchor

    If successfully loaded, the anchor that was loaded. Otherwise default.

    Declaration
    public XRAnchor xrAnchor
    Field Value
    Type Description
    XRAnchor
    In This Article
    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)