Files
adriadri6972 d3d9c5f833 upload project
2025-07-31 15:21:08 +02:00

24 lines
753 B
C#

namespace UnityEngine.XR.ARSubsystems
{
/// <summary>
/// The result of an operation to load an anchor from persistent storage.
/// </summary>
public struct XRLoadAnchorResult
{
/// <summary>
/// The status of the load operation. If `resultStatus.IsError()`, do not read the <see cref="xrAnchor"/> value.
/// </summary>
public XRResultStatus resultStatus;
/// <summary>
/// The persistent anchor GUID of the anchor requested to be loaded.
/// </summary>
public SerializableGuid savedAnchorGuid;
/// <summary>
/// If successfully loaded, the anchor that was loaded. Otherwise `default`.
/// </summary>
public XRAnchor xrAnchor;
}
}