The Regions class traverses the filtered mesh (see IMeshFilters.FilterIn), generates a SectorBatch for each mesh sector that contains data of the given heightmap (see Heightmap) and puts an explicit mark on it (see MeshTree.SectorMark).
The following vertex data semantics are used by this class:
Creates a new instance of Regions.
The minimum heightmap block size to process.
512 (see IHeightmap.HasRegion).
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 heightmap for which to compute regions.
When set to
null, the heightmap of the bound mesh is used (see IMesh.Heightmap).