UInstancedStaticMeshComponent::GetInstancesOverlappingBox

Returns the instances with instance bounds overlapping the specified box.

Windows
MacOS
Linux

Override Hierarchy

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss