private void unlockLeftEye() { eye = StereoTargetEyeMask.Left; observables.ApplyCommandsToLeftSide(); cameraRig.SetLeftEyeRotationAndPosition(); cameraRig.StraightenRightEye(); cameraRig.SetRightEyePositionOnly(); }
protected void unlockLeftEye() { eye = StereoTargetEyeMask.Left; cameraRig.SetLeftEyeRotationAndPosition(); cameraRig.config.leftEyeIsStrabismic = true; cameraRig.config.rightEyeIsStrabismic = false; cameraRig.config.Sync(); rightEyeIsStrabismic = false; // relock right eye cameraRig.StraightenRightEye(); cameraRig.SetRightEyePositionOnly(); }