properties[i]=buff.getInt();
submeshes=new Submesh[header.getnSubmeshes()];
buff.position(header.getofsSubmeshes());
for(int i=0;i<header.getnSubmeshes();i++)
submeshes[i]=new Submesh(buff);
texunits=new TexUnits[header.getnTextureUnits()];
buff.position(header.getofsTextureUnits());
for(int i=0;i<header.getnTextureUnits();i++)
texunits[i]=new TexUnits(buff);