API reference
API reference
Select your platform
No SDKs available
No versions available

OVRDisplay Class

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

Overview

Events

System.Action
Occurs when the head pose is reset.

Properties

Vector3
(Deprecated) Gets the current linear acceleration of the head.
Vector3
(Deprecated) Gets the current angular acceleration of the head in radians per second per second about each axis.
Vector3
Gets the current linear velocity of the head in meters per second.
Vector3
Gets the current angular velocity of the head in radians per second about each axis.
latency[Get]
Gets the current measured latency values.
float
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.
GetEyeRenderDesc
( UnityEngine.XR.XRNode eye )
Gets the resolution and field of view for the given eye.

Object Data

void
void
ConfigureEyeDesc
( Node eye )

Details

Object Data

bool OVRDisplay.needsConfigureTexture
No description available.
EyeRenderDesc [] OVRDisplay.eyeDescs
No description available.
bool OVRDisplay.recenterRequested
No description available.
int OVRDisplay.recenterRequestedFrameCount
No description available.
int OVRDisplay.localTrackingSpaceRecenterCount
No description available.

Events

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

Properties

Vector3 OVRDisplay.acceleration
(Deprecated) Gets the current linear acceleration of the head.
Vector3 OVRDisplay.angularAcceleration
(Deprecated) Gets the current angular acceleration of the head in radians per second per second about each axis.
Vector3 OVRDisplay.velocity
Gets the current linear velocity of the head in meters per second.
Vector3 OVRDisplay.angularVelocity
Gets the current angular velocity of the head in radians per second about each axis.
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 Functions

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

Object Data

void OVRDisplay.UpdateTextures ( )
No description available.
void OVRDisplay.ConfigureEyeDesc
( Node eye )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon