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 FoliageOverlappingBoxTransforms
&40;
UObject &42; WorldContextObject,
const UStaticMesh &42; StaticMesh,
FBox Box,
TArray< FTransform > & OutTransforms
&41;
Remarks
Get the transform of every instance overlapping the provided FBox
Parameters
| Name | Description |
|---|---|
| StaticMesh | Mesh to get instances of |
| Box | Box to use for overlap |
| OutTransforms | Array to populate with transforms |