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

Classes

struct  Frustum
 The (symmetric) visible area in front of the sensor. More...
 

Public Member Functions

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

Properties

bool isPresent [get]
 If true, a sensor is attached to the system. More...
 
bool isPositionTracked [get]
 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. More...
 
bool isEnabled [get, set]
 If this is true and a sensor is available, the system will use position tracking when isPositionTracked is also true. More...
 
int count [get]
 Returns the number of sensors currently connected to the system. More...
 

Detailed Description

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

Member Function Documentation

◆ GetFrustum()

Frustum OVRTracker.GetFrustum ( int  tracker = 0)

Gets the sensor's viewing frustum.

◆ GetPose()

OVRPose OVRTracker.GetPose ( int  tracker = 0)

Gets the sensor's pose, relative to the head's pose at the time of the last pose recentering.

◆ GetPoseValid()

bool OVRTracker.GetPoseValid ( int  tracker = 0)

If true, the pose of the sensor is valid and is ready to be queried.

◆ GetPresent()

bool OVRTracker.GetPresent ( int  tracker = 0)

Property Documentation

◆ count

int OVRTracker.count
get

Returns the number of sensors currently connected to the system.

◆ isEnabled

bool OVRTracker.isEnabled
getset

If this is true and a sensor is available, the system will use position tracking when isPositionTracked is also true.

◆ isPositionTracked

bool OVRTracker.isPositionTracked
get

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.

◆ isPresent

bool OVRTracker.isPresent
get

If true, a sensor is attached to the system.


The documentation for this class was generated from the following file: