MorphShape.generated.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. /// Name and weight of a single shape in a morph target animation. Each shape internally represents a set of vertices that
  11. /// describe the morph shape.
  12. /// </summary>
  13. public partial class MorphShape : ScriptObject
  14. {
  15. private MorphShape(bool __dummy0) { }
  16. protected MorphShape() { }
  17. /// <summary>Returns the name of the shape.</summary>
  18. public string Name
  19. {
  20. get { return Internal_getName(mCachedPtr); }
  21. }
  22. /// <summary>Returns the weight of the shape, determining how are different shapes within a channel blended.</summary>
  23. public float Weight
  24. {
  25. get { return Internal_getWeight(mCachedPtr); }
  26. }
  27. [MethodImpl(MethodImplOptions.InternalCall)]
  28. private static extern string Internal_getName(IntPtr thisPtr);
  29. [MethodImpl(MethodImplOptions.InternalCall)]
  30. private static extern float Internal_getWeight(IntPtr thisPtr);
  31. }
  32. /** @} */
  33. }