using System.Numerics; using System.Runtime.InteropServices; namespace Raylib_cs { /// VR Stereo rendering configuration for simulator [StructLayout(LayoutKind.Sequential)] public struct VrStereoConfig { /// /// VR projection matrices (per eye) /// public Matrix4x4 projection1; /// /// VR projection matrices (per eye) /// public Matrix4x4 projection2; /// /// VR view offset matrices (per eye) /// public Matrix4x4 viewOffset1; /// /// VR view offset matrices (per eye) /// public Matrix4x4 viewOffset2; /// /// VR left lens center /// public Vector2 leftLensCenter; /// /// VR right lens center /// public Vector2 rightLensCenter; /// /// VR left screen center /// public Vector2 leftScreenCenter; /// /// VR right screen center /// public Vector2 rightScreenCenter; /// /// VR distortion scale /// public Vector2 scale; /// /// VR distortion scale in /// public Vector2 scaleIn; } }