Пример #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;
 }
Пример #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);
        }