UAIPerceptionComponent::SetSenseEnabled

Note that this works only if given sense has been already configured for this component instance

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 SetSenseEnabled
(
    TSubclassOf< UAISense > SenseClass,
    const bool bEnable
)

Remarks

Note that this works only if given sense has been already configured for this component instance

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