Esempio n. 1
0
 /// <summary>
 /// Creates a new LayerEyeMatrix.
 /// </summary>
 public LayerEyeMatrix()
 {
     Header       = new LayerHeader();
     Header.Type  = LayerType.EyeMatrix;
     ColorTexture = new IntPtr[2];
     Viewport     = new Recti[2];
     RenderPose   = new Posef[2];
     Matrix       = new Matrix4[2];
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new LayerQuad.
 /// </summary>
 public LayerQuad()
 {
     Header         = new LayerHeader();
     Header.Type    = LayerType.Quad;
     ColorTexture   = IntPtr.Zero;
     Viewport       = new Recti();
     QuadPoseCenter = new Posef();
     QuadSize       = new Vector2();
 }
Esempio n. 3
0
 /// <summary>
 /// Creates a new LayerEyeFov.
 /// </summary>
 public LayerEyeFov()
 {
     Header       = new LayerHeader();
     Header.Type  = LayerType.EyeFov;
     ColorTexture = new IntPtr[2];
     Viewport     = new Recti[2];
     Fov          = new FovPort[2];
     RenderPose   = new Posef[2];
 }