Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
Include |
#include "Kismet/KismetSystemLibrary.h" |
Source |
/Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
static bool ComponentOverlapComponents
(
UPrimitiveComponent * Component,
const FTransform & ComponentTransform,
const TArray< TEnumAsByte< EObjectTypeQuery > > & ObjectTypes,
UClass * ComponentClassFilter,
const TArray< AActor * > & ActorsToIgnore,
TArray< class UPrimitiveComponent * > & OutComponents
)
Returns an array of components that overlap the given component.
true if there was an overlap that passed the filters, false otherwise.
Parameter |
Description |
---|---|
Component |
Component to test with. |
ComponentTransform |
Defines where to place the component for overlap testing. |
Filter |
Option to restrict results to only static or only dynamic. For efficiency. |
ClassFilter |
If set, will only return results of this class or subclasses of it. |
ActorsToIgnore |
Ignore these actors in the list |
OutActors |
Returned array of actors. Unsorted. |