Beispiel #1
0
 internal static Model Read(ContentReader input)
 {
     Model model = new Model();
     model.ReadBones(input);
     VertexDeclaration[] vertexDeclarations = ReadVertexDeclarations(input);
     model.ReadMeshes(input, vertexDeclarations);
     model.root = model.ReadBoneReference(input);
     model.Tag = input.ReadObject<object>();
     return model;
 }
Beispiel #2
0
        internal static Model Read(ContentReader input)
        {
            Model model = new Model();

            model.ReadBones(input);
            VertexDeclaration[] vertexDeclarations = ReadVertexDeclarations(input);
            model.ReadMeshes(input, vertexDeclarations);
            model.root = model.ReadBoneReference(input);
            model.Tag  = input.ReadObject <object>();
            return(model);
        }