using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace BansheeEngine
{
/// Contains internal information about a single bone in a Skeleton.
[StructLayout(LayoutKind.Sequential), SerializeObject]
public partial struct BoneInfo
{
/// Unique name of the bone.
public string name;
/// Index of the parent bone (within the relevant Skeleton object). -1 if root bone.
public int parent;
/// Inverse transform of the pose the skeleton was initially created in.
public Matrix4 invBindPose;
}
}