#[repr(C)]
pub struct ovrTrackingState { pub _align: [u64; 0], pub HeadPose: ovrPoseStatef, pub StatusFlags: c_uint, pub HandPoses: [ovrPoseStatef; 2], pub HandStatusFlags: [c_uint; 2], pub CalibratedOrigin: ovrPosef, }
Expand description

Tracking state at a given absolute time (describes predicted HMD pose, etc.). Returned by ovr_GetTrackingState.

see ovr_GetTrackingState

Fields§

§_align: [u64; 0]§HeadPose: ovrPoseStatef

Predicted head pose (and derivatives) at the requested absolute time.

§StatusFlags: c_uint

HeadPose tracking status described by ovrStatusBits.

§HandPoses: [ovrPoseStatef; 2]

The most recent calculated pose for each hand when hand controller tracking is present. HandPoses[ovrHand_Left as usize] refers to the left hand and HandPoses[ovrHand_Right as usize] to the right hand. These values can be combined with ovrInputState for complete hand controller information.

§HandStatusFlags: [c_uint; 2]

HandPoses status flags described by ovrStatusBits. Only ovrStatus_OrientationTracked and ovrStatus_PositionTracked are reported.

§CalibratedOrigin: ovrPosef

The pose of the origin captured during calibration. Like all other poses here, this is expressed in the space set by ovr_RecenterTrackingOrigin, or ovr_SpecifyTrackingOrigin and so will change every time either of those functions are called. This pose can be used to calculate where the calibrated origin lands in the new recentered space. If an application never calls ovr_RecenterTrackingOrigin or ovr_SpecifyTrackingOrigin, expect this value to be the identity pose and as such will point respective origin based on ovrTrackingOrigin requested when calling ovr_GetTrackingState.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.