| 12345678910111213141516171819202122232425262728293031323334353637 |
- using System;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- using BansheeEngine;
- namespace BansheeEditor
- {
- /** @addtogroup GUIEditor
- * @{
- */
- /// <summary>Curve and a color to draw it in.</summary>
- [StructLayout(LayoutKind.Sequential), SerializeObject]
- public partial struct CurveDrawInfo
- {
- /// <summary>Initializes the struct with default values.</summary>
- public static CurveDrawInfo Default()
- {
- CurveDrawInfo value = new CurveDrawInfo();
- value.curve = null;
- value.color = new Color();
- return value;
- }
- public CurveDrawInfo(AnimationCurve curve, Color color)
- {
- this.curve = curve;
- this.color = color;
- }
- public AnimationCurve curve;
- public Color color;
- }
- /** @} */
- }
|