UHierarchicalInstancedStaticMeshComponent::GetInstancesOverlappingSphere

Returns the instances with instance bounds overlapping the specified sphere.

Windows
MacOS
Linux

Override Hierarchy

UInstancedStaticMeshComponent::GetInstancesOverlappingSphere()

UHierarchicalInstancedStaticMeshComponent::GetInstancesOverlappingSphere()

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 > GetInstancesOverlappingSphere
(
    const FVector & Center,
    float Radius,
    bool bSphereInWorldSpace
) const

Remarks

Returns the instances with instance bounds overlapping the specified sphere. 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