RootMotion.generated.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. [ShowInInspector]
  11. public partial class RootMotion : ScriptObject
  12. {
  13. private RootMotion(bool __dummy0) { }
  14. protected RootMotion() { }
  15. /// <summary>Animation curve representing the movement of the root bone.</summary>
  16. [ShowInInspector]
  17. public Vector3Curve Position
  18. {
  19. get { return Internal_getPositionCurves(mCachedPtr); }
  20. }
  21. /// <summary>Animation curve representing the rotation of the root bone.</summary>
  22. [ShowInInspector]
  23. public QuaternionCurve Rotation
  24. {
  25. get { return Internal_getRotationCurves(mCachedPtr); }
  26. }
  27. [MethodImpl(MethodImplOptions.InternalCall)]
  28. private static extern Vector3Curve Internal_getPositionCurves(IntPtr thisPtr);
  29. [MethodImpl(MethodImplOptions.InternalCall)]
  30. private static extern QuaternionCurve Internal_getRotationCurves(IntPtr thisPtr);
  31. }
  32. /** @} */
  33. }