FActorPerceptionInfo::GetStimulusLocation

Retrieves location of the last sensed 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

FVector GetStimulusLocation
(
    FAISenseID Sense
) const

Remarks

Retrieves location of the last sensed stimuli for a given sense

Returns

Location of the last sensed stimuli or FAISystem::InvalidLocation if given sense has never registered related Target actor or if last stimuli has 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