docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRSaveAnchorResult

    The result of an operation to save an anchor to 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 XRSaveAnchorResult

    Fields

    resultStatus

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

    Declaration
    public XRResultStatus resultStatus
    Field Value
    Type Description
    XRResultStatus

    savedAnchorGuid

    If successfully saved, the anchor's persistent anchor GUID. Otherwise, default.

    Declaration
    public SerializableGuid savedAnchorGuid
    Field Value
    Type Description
    SerializableGuid

    trackableId

    The TrackableId of the anchor requested to be saved.

    Declaration
    public TrackableId trackableId
    Field Value
    Type Description
    TrackableId
    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)