Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UInstancedStaticMeshComponent
- UInstancedStaticMeshComponent::GetInstancesOverlappingSphere()
- UHierarchicalInstancedStaticMeshComponent::GetInstancesOverlappingSphere()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
virtual TArray< int32 > GetInstancesOverlappingSphere
&40;
const FVector & Center,
float Radius,
bool bSphereInWorldSpace
&41; const
Remarks
Returns the instances with instance bounds overlapping the specified sphere. The return value is an array of instance indices.