CBone.generated.cs 990 B

1234567891011121314151617181920212223242526272829303132333435
  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. public partial class Bone : Component
  14. {
  15. private Bone(bool __dummy0) { }
  16. protected Bone() { }
  17. /// <summary>Determines the name of the bone the component is referencing.</summary>
  18. [ShowInInspector]
  19. public string Name
  20. {
  21. get { return Internal_getBoneName(mCachedPtr); }
  22. set { Internal_setBoneName(mCachedPtr, value); }
  23. }
  24. [MethodImpl(MethodImplOptions.InternalCall)]
  25. private static extern void Internal_setBoneName(IntPtr thisPtr, string name);
  26. [MethodImpl(MethodImplOptions.InternalCall)]
  27. private static extern string Internal_getBoneName(IntPtr thisPtr);
  28. }
  29. /** @} */
  30. }