AInstancedFoliageActor::GetOverlappingMeshCounts

Perf Warnin: potentially slow! Dev-only use recommended.

Windows
MacOS
Linux

References

Module

Foliage

Header

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

Include

#include "InstancedFoliageActor.h"

Source

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

Syntax

void GetOverlappingMeshCounts
(
    const FSphere & Sphere,
    TMap< UStaticMesh *, int32 > & OutCounts
) const

Remarks

Perf Warnin: potentially slow! Dev-only use recommended. Returns list of meshes and counts for all nearby instances. OutCounts accumulates between runs.

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