SkeletonBoneInfoEx.generated.cs 626 B

123456789101112131415161718
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /// <summary>Contains internal information about a single bone in a Skeleton.</summary>
  7. [StructLayout(LayoutKind.Sequential), SerializeObject]
  8. public partial struct BoneInfo
  9. {
  10. /// <summary>Unique name of the bone.</summary>
  11. public string name;
  12. /// <summary>Index of the parent bone (within the relevant Skeleton object). -1 if root bone.</summary>
  13. public int parent;
  14. /// <summary>Inverse transform of the pose the skeleton was initially created in.</summary>
  15. public Matrix4 invBindPose;
  16. }
  17. }