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 SetSenseEnabled
(
TSubclassOf < UAISense > SenseClass,
const bool bEnable
)
Remarks
Note that this works only if given sense has been already configured for this component instance