UFoliageStatistics::FoliageOverlappingMeshCounts_Debug

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

Choose your operating system:

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