MorphShape.generated.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. [ShowInInspector]
  14. public partial class MorphShape : ScriptObject
  15. {
  16. private MorphShape(bool __dummy0) { }
  17. protected MorphShape() { }
  18. /// <summary>Returns the name of the shape.</summary>
  19. [ShowInInspector]
  20. public string Name
  21. {
  22. get { return Internal_getName(mCachedPtr); }
  23. }
  24. /// <summary>Returns the weight of the shape, determining how are different shapes within a channel blended.</summary>
  25. [ShowInInspector]
  26. public float Weight
  27. {
  28. get { return Internal_getWeight(mCachedPtr); }
  29. }
  30. [MethodImpl(MethodImplOptions.InternalCall)]
  31. private static extern string Internal_getName(IntPtr thisPtr);
  32. [MethodImpl(MethodImplOptions.InternalCall)]
  33. private static extern float Internal_getWeight(IntPtr thisPtr);
  34. }
  35. /** @} */
  36. }