Unity 1.26 Reference Guide

OVRDisplay Class Reference

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

Events

System.Action
Occurs when the head pose is reset.

Properties

Vector3
acceleration ( ) [Get]
Gets the current linear acceleration of the head.
Vector3
Gets the current angular acceleration of the head.
Vector3
velocity ( ) [Get]
Gets the current linear velocity of the head.
Vector3
angularVelocity ( ) [Get]
Gets the current angular velocity of the head.
LatencyData
latency ( ) [Get]
Gets the current measured latency values.
float
appFramerate ( ) [Get]
Gets application's frame rate reported by oculus plugin
int
Gets the recommended MSAA level for optimal quality/performance the current device.
float []
Gets the list of available display frequencies supported by this hardware.
float
Gets and sets the current display frequency.

Public Member Functions

Creates an instance of OVRDisplay.
void
Update ( )
Updates the internal state of the OVRDisplay.
void
Recenters the head pose.
EyeRenderDesc
GetEyeRenderDesc ( UnityEngine.VR.VRNode eye )
Gets the resolution and field of view for the given eye.

Private Member Functions

void
void
ConfigureEyeDesc ( UnityEngine.VR.VRNode eye )

Object Data Documentation

bool OVRDisplay.needsConfigureTexture ( )
EyeRenderDesc [] OVRDisplay.eyeDescs ( )
bool OVRDisplay.recenterRequested ( )
int OVRDisplay.recenterRequestedFrameCount ( )

Event Documentation

System.Action OVRDisplay.RecenteredPose ( )
Occurs when the head pose is reset.

Property Documentation

Vector3 OVRDisplay.acceleration ( )
Gets the current linear acceleration of the head.
Vector3 OVRDisplay.angularAcceleration ( )
Gets the current angular acceleration of the head.
Vector3 OVRDisplay.velocity ( )
Gets the current linear velocity of the head.
Vector3 OVRDisplay.angularVelocity ( )
Gets the current angular velocity of the head.
LatencyData OVRDisplay.latency ( )
Gets the current measured latency values.
float OVRDisplay.appFramerate ( )
Gets application's frame rate reported by oculus plugin
int OVRDisplay.recommendedMSAALevel ( )
Gets the recommended MSAA level for optimal quality/performance the current device.
float [] OVRDisplay.displayFrequenciesAvailable ( )
Gets the list of available display frequencies supported by this hardware.
float OVRDisplay.displayFrequency ( )
Gets and sets the current display frequency.

Member Function Documentation

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

Object Data Documentation

void OVRDisplay.UpdateTextures ( )
void OVRDisplay.ConfigureEyeDesc ( UnityEngine.VR.VRNode eye )
The documentation for this class was generated from the following file: Oculus/VR/Scripts/OVRDisplay.cs