public void SetBonePose(string name, BonePose bonePose) { int index; if (_boneNameMap.TryGetValue(name, out index)) { SetBonePose(index, bonePose); } }
public void SetBonePose(int index, BonePose bonePose) { BoneImages[index].Translation = bonePose.Translation; BoneImages[index].Rotation = bonePose.Rotation; }