Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Perception > API/Runtime/AIModule/Perception/UAIPerceptionComponent
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionComponent.h |
| Include | #include "Perception/AIPerceptionComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/Perception/AIPerceptionComponent.cpp |
UFUNCTION (BlueprintCallable, Category="AI|Perception")
void GetCurrentlyPerceivedActors
(
TSubclassOf< UAISense > SenseToUse,
TArray < AActor * > & OutActors
) const
Remarks
If SenseToUse is none all actors currently perceived in any way will get fetched