UHierarchicalInstancedStaticMeshComponent::GetInstancesOverlappingBox

Returns the instances with instance bounds overlapping the specified box.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UInstancedStaticMeshComponent::GetInstancesOverlappingBox()

UHierarchicalInstancedStaticMeshComponent::GetInstancesOverlappingBox()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/HierarchicalInstancedStaticMeshComponent.h

Include

#include "Components/HierarchicalInstancedStaticMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/HierarchicalInstancedStaticMesh.cpp

Syntax

virtual TArray< int32 > GetInstancesOverlappingBox
(
    const FBox & Box,
    bool bBoxInWorldSpace
) const

Remarks

Returns the instances with instance bounds overlapping the specified box. The return value is an array of instance indices.