using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace BansheeEngine
{
/** @addtogroup Animation
* @{
*/
///
/// A collection of morph shapes that are sequentially blended together. Each shape has a weight in range [0, 1] which
/// determines at what point is that shape blended. As the channel percent moves from 0 to 1, different shapes will be
/// blended with those before or after them, depending on their weight.
///
public partial class MorphChannel : ScriptObject
{
private MorphChannel(bool __dummy0) { }
protected MorphChannel() { }
/// Returns the unique name of the channel.
public string Name
{
get { return Internal_getName(mCachedPtr); }
}
/// Returns all morph shapes within this channel, in order from lowest to highest.
public MorphShape[] Shapes
{
get { return Internal_getShapes(mCachedPtr); }
}
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern string Internal_getName(IntPtr thisPtr);
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern MorphShape[] Internal_getShapes(IntPtr thisPtr);
}
/** @} */
}