Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/UAIPerceptionComponent
Description
Returns if a sense is active. Note that this works only if given sense has been already configured for this component instance
| Name | IsSenseEnabled |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionComponent.h |
| Include Path | #include "Perception/AIPerceptionComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/Perception/AIPerceptionComponent.cpp |
UFUNCTION (BlueprintCallable, Category="AI|Perception")
bool IsSenseEnabled
(
TSubclassOf < UAISense > SenseClass
) const