UAIPerceptionSystem::RegisterAllPawnsAsSourcesForSense

Iterates over all pawns and registeres them as a source for sense indicated by SenseID.

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionSystem.h

Include

#include "Perception/AIPerceptionSystem.h"

Source

/Engine/Source/Runtime/AIModule/Private/Perception/AIPerceptionSystem.cpp

Syntax

virtual void RegisterAllPawnsAsSourcesForSense
(
    FAISenseID SenseID
)

Remarks

Iterates over all pawns and registeres them as a source for sense indicated by SenseID.

that this will be performed only for senses that request that (see [UAISense.bAutoRegisterAllPawnsAsSources](API\Runtime\AIModule\Perception\UAISense\bAutoRegisterAllPawnsAsSources)).

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