コード例 #1
0
 // Update is called once per frame
 void UpdateState()
 {
     if (_camSource.Update())
     {
         left.Invoke(_camSource.LeftEye());
         right.Invoke(_camSource.RightEye());
     }
 }
コード例 #2
0
        // Update is called once per frame
        void Update()
        {
            if (_camSource.Update())
            {
                left.Invoke(_camSource.LeftEye());
                right.Invoke(_camSource.RightEye());
            }

            if (Input.GetKeyDown(KeyCode.PageUp))
            {
                _camSource.settings.conf_exposure += 500;
                _camSource.UpdateOvrvisionSetting();
            }
            if (Input.GetKeyDown(KeyCode.PageDown))
            {
                _camSource.settings.conf_exposure -= 500;
                _camSource.UpdateOvrvisionSetting();
            }
        }