internal Influence? TransformFor(Bone b) { var track = coreAnimation.GetTrack(b.CoreBone); return (track != null && weight > 0) ? new Influence(weight, track.GetTransformAt(time)) : default(Influence?); }
internal IEnumerable<Influence> GetInfluencesFor(Bone b) { return animations.Select(x => x.TransformFor(b)). Where(x => x != null). Cast<Influence>(); }