using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace BansheeEngine
{
/** @addtogroup Animation
* @{
*/
/// Contains a set of animation curves used for moving and rotating the root bone.
[ShowInInspector]
public partial class RootMotion : ScriptObject
{
private RootMotion(bool __dummy0) { }
protected RootMotion() { }
/// Animation curve representing the movement of the root bone.
[ShowInInspector]
[NotNull]
[PassByCopy]
[NativeWrapper]
public Vector3Curve Position
{
get { return Internal_getPositionCurves(mCachedPtr); }
}
/// Animation curve representing the rotation of the root bone.
[ShowInInspector]
[NotNull]
[PassByCopy]
[NativeWrapper]
public QuaternionCurve Rotation
{
get { return Internal_getRotationCurves(mCachedPtr); }
}
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern Vector3Curve Internal_getPositionCurves(IntPtr thisPtr);
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern QuaternionCurve Internal_getRotationCurves(IntPtr thisPtr);
}
/** @} */
}