RootMotion.generated.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Animation
  7. * @{
  8. */
  9. /// <summary>Contains a set of animation curves used for moving and rotating the root bone.</summary>
  10. public partial class RootMotion : ScriptObject
  11. {
  12. private RootMotion(bool __dummy0) { }
  13. protected RootMotion() { }
  14. /// <summary>Animation curve representing the movement of the root bone.</summary>
  15. public Vector3Curve Position
  16. {
  17. get { return Internal_getPositionCurves(mCachedPtr); }
  18. }
  19. /// <summary>Animation curve representing the rotation of the root bone.</summary>
  20. public QuaternionCurve Rotation
  21. {
  22. get { return Internal_getRotationCurves(mCachedPtr); }
  23. }
  24. [MethodImpl(MethodImplOptions.InternalCall)]
  25. private static extern Vector3Curve Internal_getPositionCurves(IntPtr thisPtr);
  26. [MethodImpl(MethodImplOptions.InternalCall)]
  27. private static extern QuaternionCurve Internal_getRotationCurves(IntPtr thisPtr);
  28. }
  29. /** @} */
  30. }