FActorPerceptionInfo::IsSenseActive

Indicates a currently active stimuli for a given sense

Choose your operating system:

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