TKeyframe.generated.cs 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Animation
  7. * @{
  8. */
  9. /// <summary>Animation keyframe, represented as an endpoint of a cubic hermite spline.</summary>
  10. [StructLayout(LayoutKind.Sequential), SerializeObject]
  11. public partial struct KeyFrameInt
  12. {
  13. /// <summary>Value of the key.</summary>
  14. public int value;
  15. /// <summary>Position of the key along the animation spline.</summary>
  16. public float time;
  17. }
  18. /** @} */
  19. /** @addtogroup Animation
  20. * @{
  21. */
  22. /// <summary>Animation keyframe, represented as an endpoint of a cubic hermite spline.</summary>
  23. [StructLayout(LayoutKind.Sequential), SerializeObject]
  24. public partial struct KeyFrame
  25. {
  26. /// <summary>Value of the key.</summary>
  27. public float value;
  28. /// <summary>Input tangent (going from the previous key to this one) of the key.</summary>
  29. public float inTangent;
  30. /// <summary>Output tangent (going from this key to next one) of the key.</summary>
  31. public float outTangent;
  32. /// <summary>Position of the key along the animation spline.</summary>
  33. public float time;
  34. }
  35. /** @} */
  36. /** @addtogroup Animation
  37. * @{
  38. */
  39. /// <summary>Animation keyframe, represented as an endpoint of a cubic hermite spline.</summary>
  40. [StructLayout(LayoutKind.Sequential), SerializeObject]
  41. public partial struct KeyFrameVec3
  42. {
  43. /// <summary>Value of the key.</summary>
  44. public Vector3 value;
  45. /// <summary>Input tangent (going from the previous key to this one) of the key.</summary>
  46. public Vector3 inTangent;
  47. /// <summary>Output tangent (going from this key to next one) of the key.</summary>
  48. public Vector3 outTangent;
  49. /// <summary>Position of the key along the animation spline.</summary>
  50. public float time;
  51. }
  52. /** @} */
  53. /** @addtogroup Animation
  54. * @{
  55. */
  56. /// <summary>Animation keyframe, represented as an endpoint of a cubic hermite spline.</summary>
  57. [StructLayout(LayoutKind.Sequential), SerializeObject]
  58. public partial struct KeyFrameQuat
  59. {
  60. /// <summary>Value of the key.</summary>
  61. public Quaternion value;
  62. /// <summary>Input tangent (going from the previous key to this one) of the key.</summary>
  63. public Quaternion inTangent;
  64. /// <summary>Output tangent (going from this key to next one) of the key.</summary>
  65. public Quaternion outTangent;
  66. /// <summary>Position of the key along the animation spline.</summary>
  67. public float time;
  68. }
  69. /** @} */
  70. }