private void unlockRightEye()
        {
            eye = StereoTargetEyeMask.Right;

            observables.ApplyCommandsToRightSide();

            cameraRig.SetRightEyeRotationAndPosition();
            cameraRig.StraightenLeftEye();
            cameraRig.SetLeftEyePositionOnly();
        }
コード例 #2
0
        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();
        }