Regions
Description
- Derived from
-
BatchRendererBase<SectorBatch> abstract
IMeshBoundMinSize
IEventListenerGeneric<HeightmapEventArgs>
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:
-
required : Semantic.HeightmapCoords
-
required : Semantic.Position
-
required : Semantic.Area
Public / Attributes
FilterIn
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).
Heightmap
The heightmap for which to compute regions.
When set to null
, the heightmap of the bound mesh is used (see IMesh.Heightmap).