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