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

OVRTracker Class

An infrared camera that tracks the position of a head-mounted display.

Overview

Properties

bool
If true, a sensor is attached to the system.
bool
If true, the sensor is actively tracking the HMD's position.
bool
If this is true and a sensor is available, the system will use position tracking when isPositionTracked is also true.
int
count[Get]
Returns the number of sensors currently connected to the system.

Public Member Functions

GetFrustum
( int tracker )
Gets the sensor's viewing frustum.
GetPose
( int tracker )
Gets the sensor's pose, relative to the head's pose at the time of the last pose recentering.
bool
GetPoseValid
( int tracker )
If true, the pose of the sensor is valid and is ready to be queried.
bool
GetPresent
( int tracker )

Details

Properties

bool OVRTracker.isPresent
If true, a sensor is attached to the system.
bool OVRTracker.isPositionTracked
If true, the sensor is actively tracking the HMD's position.
Otherwise the HMD may be temporarily occluded, the system may not support position tracking, etc.
bool OVRTracker.isEnabled
If this is true and a sensor is available, the system will use position tracking when isPositionTracked is also true.
int OVRTracker.count
Returns the number of sensors currently connected to the system.

Member Functions

Frustum OVRTracker.GetFrustum
( int tracker )
Gets the sensor's viewing frustum.
OVRPose OVRTracker.GetPose
( int tracker )
Gets the sensor's pose, relative to the head's pose at the time of the last pose recentering.
bool OVRTracker.GetPoseValid
( int tracker )
If true, the pose of the sensor is valid and is ready to be queried.
bool OVRTracker.GetPresent
( int tracker )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon