MorphChannel.generated.cs 1.3 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>
  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. [ShowInInspector]
  15. public partial class MorphChannel : ScriptObject
  16. {
  17. private MorphChannel(bool __dummy0) { }
  18. protected MorphChannel() { }
  19. /// <summary>Returns the unique name of the channel.</summary>
  20. [ShowInInspector]
  21. [NativeWrapper]
  22. public string Name
  23. {
  24. get { return Internal_getName(mCachedPtr); }
  25. }
  26. /// <summary>Returns all morph shapes within this channel, in order from lowest to highest.</summary>
  27. [ShowInInspector]
  28. [NativeWrapper]
  29. public MorphShape[] Shapes
  30. {
  31. get { return Internal_getShapes(mCachedPtr); }
  32. }
  33. [MethodImpl(MethodImplOptions.InternalCall)]
  34. private static extern string Internal_getName(IntPtr thisPtr);
  35. [MethodImpl(MethodImplOptions.InternalCall)]
  36. private static extern MorphShape[] Internal_getShapes(IntPtr thisPtr);
  37. }
  38. /** @} */
  39. }