MorphChannel.generated.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Animation
  7. * @{
  8. */
  9. /// <summary>
  10. /// A collection of morph shapes that are sequentially blended together. Each shape has a weight in range [0, 1] which
  11. /// determines at what point is that shape blended. As the channel percent moves from 0 to 1, different shapes will be
  12. /// blended with those before or after them, depending on their weight.
  13. /// </summary>
  14. public partial class MorphChannel : ScriptObject
  15. {
  16. private MorphChannel(bool __dummy0) { }
  17. protected MorphChannel() { }
  18. /// <summary>Returns the unique name of the channel.</summary>
  19. public string Name
  20. {
  21. get { return Internal_getName(mCachedPtr); }
  22. }
  23. /// <summary>Returns all morph shapes within this channel, in order from lowest to highest.</summary>
  24. public MorphShape[] Shapes
  25. {
  26. get { return Internal_getShapes(mCachedPtr); }
  27. }
  28. [MethodImpl(MethodImplOptions.InternalCall)]
  29. private static extern string Internal_getName(IntPtr thisPtr);
  30. [MethodImpl(MethodImplOptions.InternalCall)]
  31. private static extern MorphShape[] Internal_getShapes(IntPtr thisPtr);
  32. }
  33. /** @} */
  34. }