private static void InitCameraProperties() { if (!isProfileAvailable) { return; } CardboardLensDistortion.RetrieveEyeMeshes(); CardboardLensDistortion.RefreshProjectionMatrix(); projectionMatrixLeft = CardboardLensDistortion.GetProjectionMatrix(CardboardEye.kLeft); projectionMatrixRight = CardboardLensDistortion.GetProjectionMatrix(CardboardEye.kRight); eyeFromHeadMatrixLeft = CardboardLensDistortion.GetEyeFromHeadMatrix(CardboardEye.kLeft); eyeFromHeadMatrixRight = CardboardLensDistortion.GetEyeFromHeadMatrix(CardboardEye.kRight); (CardboardMesh, CardboardMesh)eyeMeshes = CardboardLensDistortion.GetEyeMeshes(); viewMeshLeftRaw = eyeMeshes.Item1; viewMeshRightRaw = eyeMeshes.Item2; viewMeshLeft = CardboardUtility.ConvertCardboardMesh_Triangle(eyeMeshes.Item1); viewMeshRight = CardboardUtility.ConvertCardboardMesh_Triangle(eyeMeshes.Item2); }