sealed class Tinman.Terrain.Meshing.RegionCulling

The RegionCulling class traverses the filtered mesh (see IMeshFilters.FilterIn), performs a visibility test for each mesh sector with the configured region (see Regions) and culls away all sectors that are outside of it (see MeshTree.SectorCull).

Each visited mesh sector is tested for a maximum bounding-sphere radius. If the sectors bounding-sphere is smaller, it will be culled away (see MeshTree.SectorCull).

The following vertex data semantics are used by this class:

Public / Attributes


public attribute FilterIn → (get,set)

value : MeshTreeFilter

The filter or null.

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).


public attribute Region → (get,set)

value : IVisibleRegion

The culling region.

The region to use for culling.