public bool GetProjectionMatrix(float nearFact, float farFact, int screenWidth, int screenHeight, ScreenOrientation screenOrientation, int mode, float[] matrix) { return(GetProjectionMatrix(nearFact, farFact, screenWidth, screenHeight, VLUnityCameraHelper.GetRenderRotation(screenOrientation), mode, matrix)); }
private void OnOrientationChange(ScreenOrientation orientation) { this.renderRotation = VLUnityCameraHelper.GetRenderRotation(orientation); this.invRotCamera = VLUnityCameraHelper.GetRenderRotationMatrixFromVLToUnity(this.renderRotation); this.rotCamera = VLUnityCameraHelper.GetRenderRotationMatrixFromUnityToVL(this.renderRotation); }
private void OnOrientationChange(ScreenOrientation orientation) { this.renderRotation = VLUnityCameraHelper.GetRenderRotation(orientation); this.UpdateBackgroundSize(); }