Class YVRCameraRig
Encapsulate all camera rigid related operations and data
Inherited Members
Namespace: YVR.Core
Assembly: YVR.Core.Runtime.dll
Syntax
public class YVRCameraRig : YVRBaseRig
Fields
| Name | Description |
|---|---|
| afterRigBeforeRenderUpdated | Encapsulate all camera rigid related operations and data |
| afterRigDynamicUpdated | Encapsulate all camera rigid related operations and data |
Properties
| Name | Description |
|---|---|
| centerEyeAnchor | Transform of center eye |
| centerEyeDevice | Encapsulate all camera rigid related operations and data |
| leftEyeAnchor | Transform of left eye |
| rightEyeAnchor | Transform of right eye |
Methods
| Name | Description |
|---|---|
| GetAcceleration() | Get the acceleration of the eye Center |
| GetAngularAcceleration() | Get the angular acceleration of the eye Center |
| GetAngularVelocity() | Get the angular velocity of the eye Center |
| GetOrientationTracked() | Whether head's orientation is tracked |
| GetPosition() | Get the position of the eye Center |
| GetPositionTracked() | Whether head's position is tracked |
| GetRotation() | Get the rotation of the eye Center |
| GetVelocity() | Get the velocity of the eye Center |
| Initialize(YVRManager) | Override @YVR.Core.YVRBaseRig.Initialize |
| InitializeAnchor() | Override InitializeAnchor() |
| RecenterPose() | Recenter the pose |
| UpdateAnchorPose(RigUpdateType) | Get the pose of the anchors(left eye,right eye,center eye) and assign it to each anchor |