private void unlockLeftEye()
        {
            eye = StereoTargetEyeMask.Left;

            observables.ApplyCommandsToLeftSide();

            cameraRig.SetLeftEyeRotationAndPosition();
            cameraRig.StraightenRightEye();
            cameraRig.SetRightEyePositionOnly();
        }
コード例 #2
0
        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();
        }