public void Apply(Skeleton skeleton, float time, float weight, bool accumulate, float scale)
{
// loop through tracks and update them all with current time
foreach (KeyValuePair <ushort, NodeAnimationTrack> pair in nodeTrackList)
{
NodeAnimationTrack track = pair.Value;
Bone bone = skeleton.GetBone(pair.Key);
track.ApplyToNode(bone, time, weight, accumulate, scale);
}
}