Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedStaticMeshComponent
Description
Returns the instances with instance bounds overlapping the specified box. The return value is an array of instance indices.
Derived Overrides
| Name | GetInstancesOverlappingBox |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include Path | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
UFUNCTION (BlueprintCallable, Category="Components|InstancedStaticMesh")
virtual TArray < int32 > GetInstancesOverlappingBox
(
const FBox & Box,
bool bBoxInWorldSpace
) const