private void Load(StructureValueCollection values, IReader reader, FileSegmentGroup metaArea, EngineDescription buildInfo) { VertexFormat = (int) values.GetInteger("vertex format"); ExtraElementsPerVertex = (int) values.GetInteger("extra elements per vertex"); ExtraElementsType = (ExtraVertexElementType) values.GetInteger("extra element type"); LoadSubmeshes(values, reader, metaArea, buildInfo); LoadVertexGroups(values, reader, metaArea, buildInfo, Submeshes); }
private void Load(StructureValueCollection values, IReader reader, FileSegmentGroup metaArea, EngineDescription buildInfo) { VertexFormat = (int)values.GetInteger("vertex format"); ExtraElementsPerVertex = (int)values.GetInteger("extra elements per vertex"); ExtraElementsType = (ExtraVertexElementType)values.GetInteger("extra element type"); LoadSubmeshes(values, reader, metaArea, buildInfo); LoadVertexGroups(values, reader, metaArea, buildInfo, Submeshes); }