private void unlockRightEye() { eye = StereoTargetEyeMask.Right; observables.ApplyCommandsToRightSide(); cameraRig.SetRightEyeRotationAndPosition(); cameraRig.StraightenLeftEye(); cameraRig.SetLeftEyePositionOnly(); }
protected void unlockRightEye() { eye = StereoTargetEyeMask.Right; cameraRig.SetRightEyeRotationAndPosition(); cameraRig.config.leftEyeIsStrabismic = false; cameraRig.config.rightEyeIsStrabismic = true; cameraRig.config.Sync(); rightEyeIsStrabismic = true; // relock left eye cameraRig.StraightenLeftEye(); cameraRig.SetLeftEyePositionOnly(); }