UFoliageStatistics::FoliageOverlappingBoxTransforms

Get the transform of every instance overlapping the provided [FBox](API\Runtime\Core\Math\FBox)

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 FoliageOverlappingBoxTransforms
(
    UObject * WorldContextObject,
    const UStaticMesh * StaticMesh,
    FBox Box,
    TArray< FTransform > & OutTransforms
)

Remarks

Get the transform of every instance overlapping the provided FBox

Parameters

Parameter

Description

StaticMesh

Mesh to get instances of

Box

Box to use for overlap

OutTransforms

Array to populate with transforms

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