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.30 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.

Object Data

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

Object Data

void
Awake ( )
void
Start ( )
void
void
Update ( )
void
void
Transform
ConfigureAnchor ( Transform root, string name )

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.
Note:
: 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.leftEyeAnchorName ( )
readonly string OVRCameraRig.centerEyeAnchorName ( )
readonly string OVRCameraRig.rightEyeAnchorName ( )
readonly string OVRCameraRig.leftHandAnchorName ( )
readonly string OVRCameraRig.rightHandAnchorName ( )
Camera OVRCameraRig._centerEyeCamera ( )
Camera OVRCameraRig._leftEyeCamera ( )
Camera OVRCameraRig._rightEyeCamera ( )

Object Data Documentation

virtual void OVRCameraRig.Awake ( )
virtual void OVRCameraRig.Start ( )
virtual void OVRCameraRig.FixedUpdate ( )
virtual void OVRCameraRig.Update ( )
virtual void OVRCameraRig.UpdateAnchors ( )
virtual void OVRCameraRig.RaiseUpdatedAnchorsEvent ( )
virtual Transform OVRCameraRig.ConfigureAnchor ( Transform root, string name )

Member Function Documentation

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