Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UInstancedStaticMeshComponent
- UInstancedStaticMeshComponent::GetInstancesOverlappingBox()
- UHierarchicalInstancedStaticMeshComponent::GetInstancesOverlappingBox()
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 > GetInstancesOverlappingBox
&40;
const FBox & Box,
bool bBoxInWorldSpace
&41; const
Remarks
Returns the instances with instance bounds overlapping the specified box. The return value is an array of instance indices.