Libovr 1.43 Reference Guide

ovrTrackingState Struct Reference

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

Data Fields

ovrPoseStatef
Predicted head pose (and derivatives) at the requested absolute time.
unsigned int
HeadPose tracking status described by ovrStatusBits.
ovrPoseStatef
The most recent calculated pose for each hand when hand controller tracking is present.
unsigned int
HandPoses status flags described by ovrStatusBits.
ovrPosef
The pose of the origin captured during calibration.

Detailed Description

Returned by ovr_GetTrackingState.

Field Documentation

ovrPoseStatef ovrTrackingState::HeadPose ( )
Predicted head pose (and derivatives) at the requested absolute time.
unsigned int ovrTrackingState::StatusFlags ( )
HeadPose tracking status described by ovrStatusBits.
ovrPoseStatef ovrTrackingState::HandPoses[2] ( )
The most recent calculated pose for each hand when hand controller tracking is present.
HandPoses[ovrHand_Left] refers to the left hand and HandPoses[ovrHand_Right] to the right. These values can be combined with ovrInputState for complete hand controller information.
unsigned int ovrTrackingState::HandStatusFlags[2] ( )
HandPoses status flags described by ovrStatusBits.
ovrPosef ovrTrackingState::CalibratedOrigin ( )
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.
The documentation for this struct was generated from the following file: Include/OVR_CAPI.h