UAIPerceptionComponent::GetCurrentlyPerceivedActors

If SenseToUse is none all actors currently perceived in any way will get fetched

Windows
MacOS
Linux

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

Syntax

void GetCurrentlyPerceivedActors
(
    TSubclassOf< UAISense > SenseToUse,
    TArray< AActor * > & OutActors
) const

Remarks

If SenseToUse is none all actors currently perceived in any way will get fetched

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