TKeyframe.generated.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 KeyFrame
  12. {
  13. /// <summary>Value of the key.</summary>
  14. public float value;
  15. /// <summary>Input tangent (going from the previous key to this one) of the key.</summary>
  16. public float inTangent;
  17. /// <summary>Output tangent (going from this key to next one) of the key.</summary>
  18. public float outTangent;
  19. /// <summary>Position of the key along the animation spline.</summary>
  20. public float time;
  21. }
  22. /** @} */
  23. /** @addtogroup Animation
  24. * @{
  25. */
  26. /// <summary>Animation keyframe, represented as an endpoint of a cubic hermite spline.</summary>
  27. [StructLayout(LayoutKind.Sequential), SerializeObject]
  28. public partial struct KeyFrameVec3
  29. {
  30. /// <summary>Value of the key.</summary>
  31. public Vector3 value;
  32. /// <summary>Input tangent (going from the previous key to this one) of the key.</summary>
  33. public Vector3 inTangent;
  34. /// <summary>Output tangent (going from this key to next one) of the key.</summary>
  35. public Vector3 outTangent;
  36. /// <summary>Position of the key along the animation spline.</summary>
  37. public float time;
  38. }
  39. /** @} */
  40. /** @addtogroup Animation
  41. * @{
  42. */
  43. /// <summary>Animation keyframe, represented as an endpoint of a cubic hermite spline.</summary>
  44. [StructLayout(LayoutKind.Sequential), SerializeObject]
  45. public partial struct KeyFrameQuat
  46. {
  47. /// <summary>Value of the key.</summary>
  48. public Quaternion value;
  49. /// <summary>Input tangent (going from the previous key to this one) of the key.</summary>
  50. public Quaternion inTangent;
  51. /// <summary>Output tangent (going from this key to next one) of the key.</summary>
  52. public Quaternion outTangent;
  53. /// <summary>Position of the key along the animation spline.</summary>
  54. public float time;
  55. }
  56. /** @} */
  57. }