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

OVRDisplay Class Reference

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

Private Data Fields

bool
EyeRenderDesc []

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.

Public Member Functions

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

Private Member Functions

void
void
ConfigureEyeDesc ( VR.VRNode eye )

Object Data Documentation

bool OVRDisplay.needsConfigureTexture ( )
EyeRenderDesc [] OVRDisplay.eyeDescs ( )

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.

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 ( VR.VRNode eye )
Gets the resolution and field of view for the given eye.

Object Data Documentation

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