RootMotion.generated.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. [NativeWrapper]
  18. public Vector3Curve Position
  19. {
  20. get { return Internal_getPositionCurves(mCachedPtr); }
  21. }
  22. /// <summary>Animation curve representing the rotation of the root bone.</summary>
  23. [ShowInInspector]
  24. [NativeWrapper]
  25. public QuaternionCurve Rotation
  26. {
  27. get { return Internal_getRotationCurves(mCachedPtr); }
  28. }
  29. [MethodImpl(MethodImplOptions.InternalCall)]
  30. private static extern Vector3Curve Internal_getPositionCurves(IntPtr thisPtr);
  31. [MethodImpl(MethodImplOptions.InternalCall)]
  32. private static extern QuaternionCurve Internal_getRotationCurves(IntPtr thisPtr);
  33. }
  34. /** @} */
  35. }