Class XRResultStatusExtensions
This class contains platform-specific extensions for XRResultStatus.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features.Meta
Assembly: Unity.XR.MetaOpenXR.dll
Syntax
public static class XRResultStatusExtensions
Methods
AsXrResult(XRResultStatus)
Convert AR Foundation's generic XRResultStatus
to the OpenXR-specific XrResult
type, allowing you to access
the specific success codes and error codes returned by the OpenXR platform.
Declaration
public static XrResult AsXrResult(this XRResultStatus status)
Parameters
Type | Name | Description |
---|---|---|
XRResultStatus | status | The |
Returns
Type | Description |
---|---|
XrResult | The converted |