Navigation
API > API/Runtime > API/Runtime/Foliage
Inheritance Hierarchy
- UBlueprintFunctionLibrary
- UFoliageStatistics
References
| Module | Foliage |
| Header | /Engine/Source/Runtime/Foliage/Public/FoliageStatistics.h |
| Include | #include "FoliageStatistics.h" |
Syntax
UCLASS (MinimalAPI)
class UFoliageStatistics : public UBlueprintFunctionLibrary
Constructors
| Type | Name | Description | |
|---|---|---|---|
UFoliageStatistics
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | FoliageOverlappingBoxCount
(
UObject* WorldContextObject, |
Gets the number of instances overlapping a provided box | |
| void | FoliageOverlappingBoxTransforms
(
UObject* WorldContextObject, |
Get the transform of every instance overlapping the provided FBox | |
| void | FoliageOverlappingMeshCounts_Debug
(
UObject* WorldContextObject, |
DEBUG FUNCTION: This is not fast, use only for debug/development. | |
| int32 | FoliageOverlappingSphereCount
(
UObject* WorldContextObject, |
Counts how many foliage instances overlap a given sphere |