Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetOverlappingActors
(
TArray< AActor* >& OverlappingActors, |
Returns a list of actors that this component is overlapping. | Components/PrimitiveComponent.h |
|
void GetOverlappingActors
(
TSet< AActor* >& OverlappingActors, |
Returns the set of actors that this component is overlapping. | Components/PrimitiveComponent.h |
GetOverlappingActors(TArray< AActor * > &, TSubclassOf< AActor >)
Description
Returns a list of actors that this component is overlapping.
| Name | GetOverlappingActors |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
UFUNCTION (BlueprintPure, Category="Collision", Meta=(UnsafeDuringActorConstruction="true"))
void GetOverlappingActors
(
TArray < AActor * > & OverlappingActors,
TSubclassOf < AActor > ClassFilter
) const
Parameters
| Name | Remarks |
|---|---|
| OverlappingActors | [out] Returned list of overlapping actors |
| ClassFilter | [optional] If set, only returns actors of this class or subclasses |
GetOverlappingActors(TSet< AActor * > &, TSubclassOf< AActor >)
Description
Returns the set of actors that this component is overlapping.
| Name | GetOverlappingActors |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
void GetOverlappingActors
(
TSet < AActor * > & OverlappingActors,
TSubclassOf < AActor > ClassFilter
) const
Parameters
| Name | Remarks |
|---|---|
| OverlappingActors | [out] Returned list of overlapping actors |
| ClassFilter | [optional] If set, only returns actors of this class or subclasses |