| 123456789101112131415161718192021222324252627282930313233343536 |
- using System;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- namespace BansheeEngine
- {
- /** @addtogroup Animation
- * @{
- */
- /// <summary>
- /// Component that maps animation for specific bone also be applied to the SceneObject this component is attached to. The
- /// component will attach to the first found parent Animation component.
- /// </summary>
- [ShowInInspector]
- public partial class Bone : Component
- {
- private Bone(bool __dummy0) { }
- protected Bone() { }
- /// <summary>Determines the name of the bone the component is referencing.</summary>
- [ShowInInspector]
- public string Name
- {
- get { return Internal_getBoneName(mCachedPtr); }
- set { Internal_setBoneName(mCachedPtr, value); }
- }
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_setBoneName(IntPtr thisPtr, string name);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern string Internal_getBoneName(IntPtr thisPtr);
- }
- /** @} */
- }
|