The Chunking class traverses the filtered mesh (see IMeshFilters.FilterIn), generates zero or more ChunkingBatch values for each mesh sector, and puts an explicit mark on it (see MeshTree.SectorMark), if it has at least one batch.
The following vertex data semantics are used by this class:
Creates a new instance of Chunking.
The mesh tree input filter to use for querying sector culling and marks.
The default value is
null (i.e. all mesh sectors are visited).
The material groups to use for generating chunked batches.
Each group is defined as a material mask (see Semantic.MaterialMask). Chunks will be generated separately for each material group.