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 |
UFUNCTION (BlueprintCallable, Category="Foliage",
Meta=(WorldContext="WorldContextObject", UnsafeDuringActorConstruction="true"))
static void FoliageOverlappingBoxTransforms
(
UObject * WorldContextObject,
const UStaticMesh * StaticMesh,
FBox Box,
TArray< FTransform > & OutTransforms
)
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 |