docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XREraseAnchorResult

    The result of an operation to erase 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 XREraseAnchorResult

    Constructors

    XREraseAnchorResult(XRResultStatus, SerializableGuid)

    Construct an instance.

    Declaration
    public XREraseAnchorResult(XRResultStatus resultStatus, SerializableGuid savedAnchorGuid)
    Parameters
    Type Name Description
    XRResultStatus resultStatus

    The status of the completed erase operation.

    SerializableGuid savedAnchorGuid

    The persistent anchor GUID requested to be erased.

    Fields

    resultStatus

    The status of the completed erase operation. If resultStatus.IsError(), the anchor wasn't erased.

    Declaration
    public XRResultStatus resultStatus
    Field Value
    Type Description
    XRResultStatus

    savedAnchorGuid

    The persistent anchor GUID requested to be erased.

    Declaration
    public SerializableGuid savedAnchorGuid
    Field Value
    Type Description
    SerializableGuid

    Properties

    defaultValue

    Get a default instance, initialized with StatusCode.UnknownError.

    Declaration
    public static XREraseAnchorResult defaultValue { get; }
    Property Value
    Type Description
    XREraseAnchorResult
    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)