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