UFoliageStatistics::FoliageOverlappingBoxCount

Gets the number of instances overlapping a provided box

Windows
MacOS
Linux

References

Module

Foliage

Header

/Engine/Source/Runtime/Foliage/Public/FoliageStatistics.h

Include

#include "FoliageStatistics.h"

Source

/Engine/Source/Runtime/Foliage/Private/FoliageStatistics.cpp

Syntax

static int32 FoliageOverlappingBoxCount
(
    UObject * WorldContextObject,
    const UStaticMesh * StaticMesh,
    FBox Box
)

Remarks

Gets the number of instances overlapping a provided box

Parameters

Parameter

Description

StaticMesh

Mesh to count

Box

Box to overlap

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss