コード例 #1
0
		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);
		}
コード例 #2
0
        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);
        }