Manages an Oculus Rift head-mounted display (HMD). More...

Classes

struct  EyeFov
 Contains full fov information per eye Under Symmetric Fov mode, UpFov == DownFov and LeftFov == RightFov. More...
 
struct  EyeRenderDesc
 Specifies the size and field-of-view for one eye texture. More...
 
struct  LatencyData
 Contains latency measurements for a single frame of rendering. More...
 

Public Member Functions

 OVRDisplay ()
 Creates an instance of OVRDisplay. Called by OVRManager. More...
 
void Update ()
 Updates the internal state of the OVRDisplay. Called by OVRManager. More...
 
void RecenterPose ()
 Recenters the head pose. More...
 
EyeRenderDesc GetEyeRenderDesc (UnityEngine.XR.XRNode eye)
 Gets the resolution and field of view for the given eye. More...
 

Properties

Vector3 acceleration [get]
 Gets the current linear acceleration of the head. More...
 
Vector3 angularAcceleration [get]
 Gets the current angular acceleration of the head in radians per second per second about each axis. More...
 
Vector3 velocity [get]
 Gets the current linear velocity of the head in meters per second. More...
 
Vector3 angularVelocity [get]
 Gets the current angular velocity of the head in radians per second about each axis. More...
 
LatencyData latency [get]
 Gets the current measured latency values. More...
 
float appFramerate [get]
 Gets application's frame rate reported by oculus plugin More...
 
int recommendedMSAALevel [get]
 Gets the recommended MSAA level for optimal quality/performance the current device. More...
 
float [] displayFrequenciesAvailable [get]
 Gets the list of available display frequencies supported by this hardware. More...
 
float displayFrequency [get, set]
 Gets and sets the current display frequency. More...
 

Events

System.Action RecenteredPose
 Occurs when the head pose is reset. More...
 

Detailed Description

Manages an Oculus Rift head-mounted display (HMD).

Constructor & Destructor Documentation

◆ OVRDisplay()

OVRDisplay.OVRDisplay ( )

Creates an instance of OVRDisplay. Called by OVRManager.

Member Function Documentation

◆ GetEyeRenderDesc()

EyeRenderDesc OVRDisplay.GetEyeRenderDesc ( UnityEngine.XR.XRNode  eye)

Gets the resolution and field of view for the given eye.

◆ RecenterPose()

void OVRDisplay.RecenterPose ( )

Recenters the head pose.

◆ Update()

void OVRDisplay.Update ( )

Updates the internal state of the OVRDisplay. Called by OVRManager.

Property Documentation

◆ acceleration

Vector3 OVRDisplay.acceleration
get

Gets the current linear acceleration of the head.

◆ angularAcceleration

Vector3 OVRDisplay.angularAcceleration
get

Gets the current angular acceleration of the head in radians per second per second about each axis.

◆ angularVelocity

Vector3 OVRDisplay.angularVelocity
get

Gets the current angular velocity of the head in radians per second about each axis.

◆ appFramerate

float OVRDisplay.appFramerate
get

Gets application's frame rate reported by oculus plugin

◆ displayFrequenciesAvailable

float [] OVRDisplay.displayFrequenciesAvailable
get

Gets the list of available display frequencies supported by this hardware.

◆ displayFrequency

float OVRDisplay.displayFrequency
getset

Gets and sets the current display frequency.

◆ latency

LatencyData OVRDisplay.latency
get

Gets the current measured latency values.

◆ recommendedMSAALevel

int OVRDisplay.recommendedMSAALevel
get

Gets the recommended MSAA level for optimal quality/performance the current device.

◆ velocity

Vector3 OVRDisplay.velocity
get

Gets the current linear velocity of the head in meters per second.

Event Documentation

◆ RecenteredPose

System.Action OVRDisplay.RecenteredPose

Occurs when the head pose is reset.


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