/// <summary> /// Constructs a new animation player. /// </summary> public AnimationPlayer(SkinningData skinningData) { if (skinningData == null) { throw new ArgumentNullException("skinningData"); } skinningDataValue = skinningData; boneTransforms = new Matrix[skinningData.BindPose.Count]; worldTransforms = new Matrix[skinningData.BindPose.Count]; skinTransforms = new Matrix[skinningData.BindPose.Count]; }
public ModelData(List <object> VertexData, SkinningData SkinningData) { this.VertexData = VertexData; this.SkinningData = SkinningData; }