mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
Split Enums, Structs & Classes into own files
This commit is contained in:
60
Raylib-cs/VrStereoConfig.cs
Normal file
60
Raylib-cs/VrStereoConfig.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
using System.Numerics;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Raylib_cs
|
||||
{
|
||||
/// <summary>VR Stereo rendering configuration for simulator</summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct VrStereoConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// VR projection matrices (per eye)
|
||||
/// </summary>
|
||||
public Matrix4x4 projection1;
|
||||
|
||||
/// <summary>
|
||||
/// VR projection matrices (per eye)
|
||||
/// </summary>
|
||||
public Matrix4x4 projection2;
|
||||
|
||||
/// <summary>
|
||||
/// VR view offset matrices (per eye)
|
||||
/// </summary>
|
||||
public Matrix4x4 viewOffset1;
|
||||
|
||||
/// <summary>
|
||||
/// VR view offset matrices (per eye)
|
||||
/// </summary>
|
||||
public Matrix4x4 viewOffset2;
|
||||
|
||||
/// <summary>
|
||||
/// VR left lens center
|
||||
/// </summary>
|
||||
public Vector2 leftLensCenter;
|
||||
|
||||
/// <summary>
|
||||
/// VR right lens center
|
||||
/// </summary>
|
||||
public Vector2 rightLensCenter;
|
||||
|
||||
/// <summary>
|
||||
/// VR left screen center
|
||||
/// </summary>
|
||||
public Vector2 leftScreenCenter;
|
||||
|
||||
/// <summary>
|
||||
/// VR right screen center
|
||||
/// </summary>
|
||||
public Vector2 rightScreenCenter;
|
||||
|
||||
/// <summary>
|
||||
/// VR distortion scale
|
||||
/// </summary>
|
||||
public Vector2 scale;
|
||||
|
||||
/// <summary>
|
||||
/// VR distortion scale in
|
||||
/// </summary>
|
||||
public Vector2 scaleIn;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user