API reference
API reference
Select your platform
No SDKs available
No versions available

Extensions Class

Static Methods

AreAllBitsSet ( value )
Signature
static bool AreAllBitsSet(this XrSpaceLocationFlags value)
Parameters
value: this XrSpaceLocationFlags
Returns
bool
IsError ( value )
Signature
static bool IsError(this XrResult value)
Parameters
value: this XrResult
Returns
bool
IsOrientationTracked ( value )
Signature
static bool IsOrientationTracked(this XrSpaceLocationFlags value)
Parameters
value: this XrSpaceLocationFlags
Returns
bool
IsOrientationValid ( value )
Signature
static bool IsOrientationValid(this XrSpaceLocationFlags value)
Parameters
value: this XrSpaceLocationFlags
Returns
bool
IsPositionTracked ( value )
Signature
static bool IsPositionTracked(this XrSpaceLocationFlags value)
Parameters
value: this XrSpaceLocationFlags
Returns
bool
IsPositionValid ( value )
Signature
static bool IsPositionValid(this XrSpaceLocationFlags value)
Parameters
value: this XrSpaceLocationFlags
Returns
bool
IsSuccess ( value )
Signature
static bool IsSuccess(this XrResult value)
Parameters
value: this XrResult
Returns
bool
IsUnqualifiedSuccess ( value )
Signature
static bool IsUnqualifiedSuccess(this XrResult value)
Parameters
value: this XrResult
Returns
bool
Log ( result )
Logs an XrResult and returns the same value.
The log type (log, warning, or error) depends on whether the XrResult is an unqualified success (log), a qualified success (warning), or failure (error).
Signature
static XrResult Log(this XrResult result)
Parameters
result: this XrResult  The XrResult to log.
Returns
XrResult  Returns result .
LogFormat ( result , format )
Signature
static XrResult LogFormat(this XrResult result, string format)
Parameters
result: this XrResult
format: string
Returns
XrResult
OrLog ( value )
Signature
static XrResult OrLog(this XrResult value)
Parameters
value: this XrResult
Returns
XrResult
OrLogFormat ( value , format )
Signature
static XrResult OrLogFormat(this XrResult value, string format)
Parameters
value: this XrResult
format: string
Returns
XrResult
ToOVRPluginType ( value )
Signature
static OVRPlugin.Sizef ToOVRPluginType(this XrExtent2Df value)
Parameters
value: this XrExtent2Df
Returns
OVRPlugin.Sizef
ToOVRPluginType ( value )
Signature
static OVRPlugin.Vector2f ToOVRPluginType(this XrOffset2Df value)
Parameters
value: this XrOffset2Df
Returns
OVRPlugin.Vector2f
ToOVRPluginType ( value )
Signature
static OVRPlugin.Rectf ToOVRPluginType(this XrRect2Df value)
Parameters
value: this XrRect2Df
Returns
OVRPlugin.Rectf
ToOVRPluginType ( value )
Signature
static OVRPlugin.Size3f ToOVRPluginType(this XrExtent3Df value)
Parameters
value: this XrExtent3Df
Returns
OVRPlugin.Size3f
ToOVRPluginType ( value )
Signature
static OVRPlugin.Vector3f ToOVRPluginType(this XrOffset3DfFB value)
Parameters
value: this XrOffset3DfFB
Returns
OVRPlugin.Vector3f
ToOVRPluginType ( value )
Signature
static OVRPlugin.Boundsf ToOVRPluginType(this XrRect3DfFB value)
Parameters
value: this XrRect3DfFB
Returns
OVRPlugin.Boundsf
ToOVRPluginType ( value )
Signature
static OVRPlugin.Quatf ToOVRPluginType(this XrQuaternionf value)
Parameters
value: this XrQuaternionf
Returns
OVRPlugin.Quatf
ToOVRPluginType ( value )
Signature
static OVRPlugin.Vector2f ToOVRPluginType(this XrVector2f value)
Parameters
value: this XrVector2f
Returns
OVRPlugin.Vector2f
ToOVRPluginType ( value )
Signature
static OVRPlugin.Vector3f ToOVRPluginType(this XrVector3f value)
Parameters
value: this XrVector3f
Returns
OVRPlugin.Vector3f
ToOVRPluginType ( value )
Signature
static OVRPlugin.Posef ToOVRPluginType(this XrPosef value)
Parameters
value: this XrPosef
Returns
OVRPlugin.Posef
ToOVRPluginType ( value )
Signature
static OVRPlugin.Result ToOVRPluginType(this XrResult value)
Parameters
value: this XrResult
Returns
OVRPlugin.Result
ToXrPosef ( value )
Signature
static XrPosef ToXrPosef(this OVRPlugin.Posef value)
Parameters
value: this OVRPlugin.Posef
Returns
XrPosef
ToXrQuaternionf ( value )
Signature
static XrQuaternionf ToXrQuaternionf(this OVRPlugin.Quatf value)
Parameters
value: this OVRPlugin.Quatf
ToXrResult ( value )
Signature
static XrResult ToXrResult(this OVRPlugin.Result value)
Parameters
value: this OVRPlugin.Result
Returns
XrResult
ToXrVector3f ( value )
Signature
static XrVector3f ToXrVector3f(this OVRPlugin.Vector3f value)
Parameters
value: this OVRPlugin.Vector3f
Returns
XrVector3f