Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UHierarchicalInstancedStaticMesh-
Description
Returns the instances with instance bounds overlapping the specified sphere. The return value is an array of instance indices.
Virtual Inheritance
- UInstancedStaticMeshComponent::GetInstancesOverlappingSphere → UHierarchicalInstancedStaticMeshComponent::GetInstancesOverlappingSphere
| Name | GetInstancesOverlappingSphere |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/HierarchicalInstancedStaticMeshComponent.h |
| Include Path | #include "Components/HierarchicalInstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/HierarchicalInstancedStaticMesh.cpp |
virtual TArray < int32 > GetInstancesOverlappingSphere
(
const FVector & Center,
float Radius,
bool bSphereInWorldSpace
) const