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)); } } }
void HandleOnValidCameraParams(LeapVRCameraControl.CameraParams camParams) { ApplyCameraProjectionValues(); }