UEnvQueryGenerator_PerceivedActors

Gathers actors perceived by context

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/Generators/EnvQueryGenerator_PerceivedActors.h

Include

#include "EnvironmentQuery/Generators/EnvQueryGenerator_PerceivedActors.h"

Syntax

class UEnvQueryGenerator_PerceivedActors : public UEnvQueryGenerator

Remarks

Gathers actors perceived by context

Variables

Name Description

Protected variable

TSubclassOf< AA...

 

AllowedActorClass

If set will be used to filter results

Protected variable

bool

 

bIncludeKnownActors

Indicates whether to include all actors known via perception (TRUE) or just the ones actively being perceived at the moment (example "currently visible" as opposed to "seen and the perception stimulus haven't expired yet").

Protected variable

TSubclassOf< UE...

 

ListenerContext

The perception listener to use as a source of information

Protected variable

FAIDataProvider...

 

SearchRadius

Additional distance limit imposed on the items generated. Perception's range limit still applies.

Protected variable

TSubclassOf< UA...

 

SenseToUse

If set will be used to filter gathered results so that only actors perceived with a given sense are considered

Constructors

Name Description

Public function

UEnvQueryGenerator_PerceivedActors

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UEnvQueryGenerator

Name Description

Protected function Virtual Const

void

 

GenerateItems

(
    FEnvQueryInstance& QueryInstance
)

Overridden from UEnvQueryNode