KeyframeRef.generated.cs 644 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Animation
  7. * @{
  8. */
  9. [StructLayout(LayoutKind.Sequential), SerializeObject]
  10. public partial struct KeyframeRef
  11. {
  12. /// <summary>Initializes the struct with default values.</summary>
  13. public static KeyframeRef Default()
  14. {
  15. KeyframeRef value = new KeyframeRef();
  16. value.curveIdx = 0;
  17. value.keyIdx = 0;
  18. return value;
  19. }
  20. public KeyframeRef(int curveIdx, int keyIdx)
  21. {
  22. this.curveIdx = curveIdx;
  23. this.keyIdx = keyIdx;
  24. }
  25. public int curveIdx;
  26. public int keyIdx;
  27. }
  28. /** @} */
  29. }