FActorPerceptionInfo::GetReceiverLocation

Retrieves receiver location of the last sense 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 GetReceiverLocation
(
    FAISenseID Sense
) const

Remarks

Retrieves receiver location of the last sense stimuli for a given sense

Returns

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