MorphShape.generated.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. [NativeWrapper]
  21. public string Name
  22. {
  23. get { return Internal_getName(mCachedPtr); }
  24. }
  25. /// <summary>Returns the weight of the shape, determining how are different shapes within a channel blended.</summary>
  26. [ShowInInspector]
  27. [NativeWrapper]
  28. public float Weight
  29. {
  30. get { return Internal_getWeight(mCachedPtr); }
  31. }
  32. [MethodImpl(MethodImplOptions.InternalCall)]
  33. private static extern string Internal_getName(IntPtr thisPtr);
  34. [MethodImpl(MethodImplOptions.InternalCall)]
  35. private static extern float Internal_getWeight(IntPtr thisPtr);
  36. }
  37. /** @} */
  38. }