Function ovr_sys::ovr_GetTrackerPose [] [src]

pub unsafe extern "C" fn ovr_GetTrackerPose(
    session: ovrSession,
    trackerPoseIndex: c_uint
) -> ovrTrackerPose

Returns the ovrTrackerPose for the given attached tracker.

session Specifies an ovrSession previously returned by ovr_Create.

trackerPoseIndex Index of the tracker being requested.

Returns the requested ovrTrackerPose. An empty ovrTrackerPose will be returned if trackerPoseIndex is out of range.

see ovr_GetTrackerCount