UFoliageStatistics::FoliageOverlappingMeshCounts_Debug

DEBUG FUNCTION: This is not fast, use only for debug/development.

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 void FoliageOverlappingMeshCounts_Debug
(
    UObject * WorldContextObject,
    FVector CenterPosition,
    float Radius,
    TMap< UStaticMesh *, int32 > & OutMeshCounts
)

Remarks

DEBUG FUNCTION: This is not fast, use only for debug/development. Gets an instance count for each unique mesh type overlapping the given sphere.

Parameters

Parameter

Description

CenterPosition

The center position of the sphere

Radius

The radius of the sphere.

OutMeshCounts

Map of Meshes to instance counts

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