public void SetMode(Device.Mode mode)
 {
     if (mode == Device.Mode.MODE_VR && this.CameraConfiguration != null && this.CameraConfiguration is MonoCameraConfiguration)
     {
         this.mPrimaryCamera.fieldOfView = 60f;
     }
     Device.Instance.SetMode(mode);
     if (this.CameraConfiguration != null)
     {
         this.CameraConfiguration.SetCameraParameterChanged();
     }
 }
예제 #2
0
 internal bool SetMode(Device.Mode m)
 {
     return(VuforiaWrapper.Instance.Device_SetMode((int)m) == 1);
 }