FrustumCulling
Description
- Derived from
-
MeshTraversal abstract
IMeshAction
IMeshBoundMinSize
IMeshBoundMinRadius
The FrustumCulling class traverses the filtered mesh (see IMeshFilters.FilterIn), performs a visibility tests for each mesh sector with the configured frustum (see Frustum) and culls away all sectors that are outside of it (see MeshTree.SectorCull).
Each visited mesh sector is tested against the frustum. 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 frustum culling.
The following vertex data semantics are used by this class:
-
required : Semantic.Position
-
required : Semantic.Radius
-
required : Semantic.Area