Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedStaticMeshComponent
Description
Returns the instances with instance bounds overlapping the specified sphere. The return value is an array of instance indices.
Derived Overrides
| Name | GetInstancesOverlappingSphere |
| 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 > GetInstancesOverlappingSphere
(
const FVector & Center,
float Radius,
bool bSphereInWorldSpace
) const