Struct XREraseAnchorResult
The result of an operation to erase an anchor from persistent storage.
Inherited Members
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 |