Navigation
API > API/Runtime > API/Runtime/Foliage > API/Runtime/Foliage/UFoliageStatistics
References
| Module | Foliage |
| Header | /Engine/Source/Runtime/Foliage/Public/FoliageStatistics.h |
| Include | #include "FoliageStatistics.h" |
| Source | /Engine/Source/Runtime/Foliage/Private/FoliageStatistics.cpp |
static void FoliageOverlappingMeshCounts_Debug
&40;
UObject &42; WorldContextObject,
FVector CenterPosition,
float Radius,
TMap< UStaticMesh &42;, int32 > & OutMeshCounts
&41;
Remarks
DEBUG FUNCTION: This is not fast, use only for debug/development. Gets an instance count for each unique mesh type overlapping the given sphere.
Parameters
| Name | Description |
|---|---|
| CenterPosition | The center position of the sphere |
| Radius | The radius of the sphere. |
| OutMeshCounts | Map of Meshes to instance counts |