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(); } }
internal bool SetMode(Device.Mode m) { return(VuforiaWrapper.Instance.Device_SetMode((int)m) == 1); }