RootMotion.generated.cs 1.1 KB

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