#[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.
Fields§
§_align: [u64; 0]§HeadPose: ovrPoseStatefPredicted head pose (and derivatives) at the requested absolute time.
StatusFlags: c_uintHeadPose 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: ovrPosefThe 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§
Source§impl Clone for ovrTrackingState
impl Clone for ovrTrackingState
Source§fn clone(&self) -> ovrTrackingState
fn clone(&self) -> ovrTrackingState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more