FActorPerceptionInfo::IsSenseActive

Indicates a currently active stimuli for a given sense

Windows
MacOS
Linux

References

Module

AIModule

Header

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

Include

#include "Perception/AIPerceptionComponent.h"

Syntax

bool IsSenseActive
(
    FAISenseID Sense
) const

Remarks

Indicates a currently active stimuli for a given sense

Returns

True if a target is still sensed for the given sense and the stimuli is not expired.

Parameters

Parameter

Description

Sense

The AISenseID of the sense

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