This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Unity 1.24 Reference Guide

OVRTracker Class Reference

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

Properties

bool
isPresent ( ) [Get]
If true, a sensor is attached to the system.
bool
If true, the sensor is actively tracking the HMD's position.
bool
isEnabled ( ) [Get]
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

Frustum
GetFrustum ( int tracker )
Gets the sensor's viewing frustum.
OVRPose
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 )

Property Documentation

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 Function Documentation

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 )
The documentation for this class was generated from the following file: OVR/Scripts/OVRTracker.cs