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