private void onValidCameraParams(LeapVRCameraControl.CameraParams cameraParams)
        {
            _projectionMatrix = cameraParams.ProjectionMatrix;
            _trackingAnchor   = cameraParams.TrackingAnchor;

            updateHistory();

            if (syncMode == SyncMode.LOW_LATENCY)
            {
                updateTemporalWarping();
            }
        }
        private void onValidCameraParams(LeapVRCameraControl.CameraParams cameraParams)
        {
            _projectionMatrix = cameraParams.ProjectionMatrix;

            if (VRSettings.enabled)
            {
                if (provider != null)
                {
                    updateHistory(InputTracking.GetLocalPosition(VRNode.CenterEye),
                                  InputTracking.GetLocalRotation(VRNode.CenterEye));
                }

                if (syncMode == SyncMode.LOW_LATENCY)
                {
                    updateTemporalWarping(InputTracking.GetLocalPosition(VRNode.CenterEye),
                                          InputTracking.GetLocalRotation(VRNode.CenterEye));
                }
            }
        }
        private void onValidCameraParams(LeapVRCameraControl.CameraParams cameraParams)
        {
            _projectionMatrix = cameraParams.ProjectionMatrix;

            if (XRSupportUtil.IsXREnabled())
            {
                if (provider != null)
                {
                    updateHistory(XRSupportUtil.GetXRNodeCenterEyeLocalPosition(),
                                  XRSupportUtil.GetXRNodeCenterEyeLocalRotation());
                }

                if (_syncMode == SyncMode.LOW_LATENCY)
                {
                    updateTemporalWarping(XRSupportUtil.GetXRNodeCenterEyeLocalPosition(),
                                          XRSupportUtil.GetXRNodeCenterEyeLocalRotation());
                }
            }
        }
 void HandleOnValidCameraParams(LeapVRCameraControl.CameraParams camParams)
 {
     ApplyCameraProjectionValues();
 }