ConeCulling
Description
- Derived from
-
MeshTraversal abstract
IMeshAction
IMeshBoundMinSize
IMeshBoundMinRadius
The ConeCulling class traverses the filtered mesh (see IMeshFilters.FilterIn), performs a visibility tests for each mesh sector with the configured cone (see ConeOrigin, ConeDirection and ConeAngle) and culls away all sectors that are outside of it (see MeshTree.SectorCull).
Each visited mesh sector is tested against the cone. If it lies outside the frustum, it will be culled away (see MeshTree.SectorCull).
If CameraInfo or Viewport is left uninitialized, the IMeshBoundMinSize.MinSize settings will be ignored during cone culling.
The following vertex data semantics are used by this class:
-
required : Semantic.Position
-
required : Semantic.Radius
-
required : Semantic.Area