CBone.generated.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. /// Component that maps animation for specific bone also be applied to the SceneObject this component is attached to. The
  11. /// component will attach to the first found parent Animation component.
  12. /// </summary>
  13. [ShowInInspector]
  14. public partial class Bone : Component
  15. {
  16. private Bone(bool __dummy0) { }
  17. protected Bone() { }
  18. /// <summary>Determines the name of the bone the component is referencing.</summary>
  19. [ShowInInspector]
  20. [NativeWrapper]
  21. public string Name
  22. {
  23. get { return Internal_getBoneName(mCachedPtr); }
  24. set { Internal_setBoneName(mCachedPtr, value); }
  25. }
  26. [MethodImpl(MethodImplOptions.InternalCall)]
  27. private static extern void Internal_setBoneName(IntPtr thisPtr, string name);
  28. [MethodImpl(MethodImplOptions.InternalCall)]
  29. private static extern string Internal_getBoneName(IntPtr thisPtr);
  30. }
  31. /** @} */
  32. }