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