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

OVRCameraRig Class Reference

A head-tracked stereoscopic virtual reality camera rig.
MonoBehaviour inherited by OVRCameraRig.

Properties

Camera
leftEyeCamera ( ) [Get]
The left eye camera.
Camera
rightEyeCamera ( ) [Get]
The right eye camera.
Transform
trackingSpace ( ) [Get]
Provides a root transform for all anchors in tracking space.
Transform
leftEyeAnchor ( ) [Get]
Always coincides with the pose of the left eye.
Transform
centerEyeAnchor ( ) [Get]
Always coincides with average of the left and right eye poses.
Transform
rightEyeAnchor ( ) [Get]
Always coincides with the pose of the right eye.
Transform
leftHandAnchor ( ) [Get]
Always coincides with the pose of the left hand.
Transform
rightHandAnchor ( ) [Get]
Always coincides with the pose of the right hand.
Transform
trackerAnchor ( ) [Get]
Always coincides with the pose of the sensor.

Events

System.Action< OVRCameraRig >
Occurs when the eye pose anchors have been set.

Data Fields

bool
If true, separate cameras will be used for the left and right eyes.
bool
If true, all tracked anchors are updated in FixedUpdate instead of Update to favor physics fidelity.

Private Data Fields

bool
readonly string
readonly string
readonly string
readonly string
readonly string
Camera
Camera
Camera

Private Member Functions

void
Awake ( )
void
Start ( )
void
void
Update ( )
void
Transform
ConfigureRootAnchor ( string name )
Transform
ConfigureEyeAnchor ( Transform root, VR.VRNode eye )
Transform
ConfigureHandAnchor ( Transform root, OVRPlugin.Node hand )
Transform
ConfigureTrackerAnchor ( Transform root )

Public Member Functions

void
Matrix4x4

Property Documentation

Camera OVRCameraRig.leftEyeCamera ( )
The left eye camera.
Camera OVRCameraRig.rightEyeCamera ( )
The right eye camera.
Transform OVRCameraRig.trackingSpace ( )
Provides a root transform for all anchors in tracking space.
Transform OVRCameraRig.leftEyeAnchor ( )
Always coincides with the pose of the left eye.
Transform OVRCameraRig.centerEyeAnchor ( )
Always coincides with average of the left and right eye poses.
Transform OVRCameraRig.rightEyeAnchor ( )
Always coincides with the pose of the right eye.
Transform OVRCameraRig.leftHandAnchor ( )
Always coincides with the pose of the left hand.
Transform OVRCameraRig.rightHandAnchor ( )
Always coincides with the pose of the right hand.
Transform OVRCameraRig.trackerAnchor ( )
Always coincides with the pose of the sensor.

Event Documentation

System.Action<OVRCameraRig> OVRCameraRig.UpdatedAnchors ( )
Occurs when the eye pose anchors have been set.

Field Documentation

bool OVRCameraRig.usePerEyeCameras ( )
If true, separate cameras will be used for the left and right eyes.
bool OVRCameraRig.useFixedUpdateForTracking ( )
If true, all tracked anchors are updated in FixedUpdate instead of Update to favor physics fidelity.
: If the fixed update rate doesn't match the rendering framerate (OVRManager.display.appFramerate), the anchors will visibly judder.

Object Data Documentation

bool OVRCameraRig._skipUpdate ( )
readonly string OVRCameraRig.trackingSpaceName ( )
readonly string OVRCameraRig.trackerAnchorName ( )
readonly string OVRCameraRig.eyeAnchorName ( )
readonly string OVRCameraRig.handAnchorName ( )
readonly string OVRCameraRig.legacyEyeAnchorName ( )
Camera OVRCameraRig._centerEyeCamera ( )
Camera OVRCameraRig._leftEyeCamera ( )
Camera OVRCameraRig._rightEyeCamera ( )

Object Data Documentation

void OVRCameraRig.Awake ( )
void OVRCameraRig.Start ( )
void OVRCameraRig.FixedUpdate ( )
void OVRCameraRig.Update ( )
void OVRCameraRig.UpdateAnchors ( )
Transform OVRCameraRig.ConfigureRootAnchor ( string name )
Transform OVRCameraRig.ConfigureEyeAnchor ( Transform root, VR.VRNode eye )
Transform OVRCameraRig.ConfigureHandAnchor ( Transform root, OVRPlugin.Node hand )
Transform OVRCameraRig.ConfigureTrackerAnchor ( Transform root )

Member Function Documentation

void OVRCameraRig.EnsureGameObjectIntegrity ( )
Matrix4x4 OVRCameraRig.ComputeTrackReferenceMatrix ( )
The documentation for this class was generated from the following file: OVR/Scripts/OVRCameraRig.cs