using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Animation * @{ */ /// /// Name and weight of a single shape in a morph target animation. Each shape internally represents a set of vertices that /// describe the morph shape. /// [ShowInInspector] public partial class MorphShape : ScriptObject { private MorphShape(bool __dummy0) { } protected MorphShape() { } /// Returns the name of the shape. [ShowInInspector] [NativeWrapper] public string Name { get { return Internal_getName(mCachedPtr); } } /// Returns the weight of the shape, determining how are different shapes within a channel blended. [ShowInInspector] [NativeWrapper] public float Weight { get { return Internal_getWeight(mCachedPtr); } } [MethodImpl(MethodImplOptions.InternalCall)] private static extern string Internal_getName(IntPtr thisPtr); [MethodImpl(MethodImplOptions.InternalCall)] private static extern float Internal_getWeight(IntPtr thisPtr); } /** @} */ }