ColorGradientKey.generated.cs 610 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Image
  7. * @{
  8. */
  9. /// <summary>Single key in a ColorGradient.</summary>
  10. [StructLayout(LayoutKind.Sequential), SerializeObject]
  11. public partial struct ColorGradientKey
  12. {
  13. /// <summary>Initializes the struct with default values.</summary>
  14. public static ColorGradientKey Default()
  15. {
  16. ColorGradientKey value = new ColorGradientKey();
  17. value.color = new Color();
  18. value.time = 0f;
  19. return value;
  20. }
  21. public Color color;
  22. public float time;
  23. }
  24. /** @} */
  25. }