CurveDrawInfo.generated.cs 751 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. using BansheeEngine;
  5. namespace BansheeEditor
  6. {
  7. /** @addtogroup GUIEditor
  8. * @{
  9. */
  10. /// <summary>Curve and a color to draw it in.</summary>
  11. [StructLayout(LayoutKind.Sequential), SerializeObject]
  12. public partial struct CurveDrawInfo
  13. {
  14. /// <summary>Initializes the struct with default values.</summary>
  15. public static CurveDrawInfo Default()
  16. {
  17. CurveDrawInfo value = new CurveDrawInfo();
  18. value.curve = null;
  19. value.color = new Color();
  20. return value;
  21. }
  22. public CurveDrawInfo(AnimationCurve curve, Color color)
  23. {
  24. this.curve = curve;
  25. this.color = color;
  26. }
  27. public AnimationCurve curve;
  28. public Color color;
  29. }
  30. /** @} */
  31. }