UAIPerceptionComponent::GetKnownPerceivedActors

If SenseToUse is none all actors ever perceived in any way (and not forgotten yet) 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 GetKnownPerceivedActors
(
    TSubclassOf< UAISense > SenseToUse,
    TArray< AActor * > & OutActors
) const

Remarks

If SenseToUse is none all actors ever perceived in any way (and not forgotten yet) 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