Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/EnvironmentQuery > API/Runtime/AIModule/EnvironmentQuery/Generators
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEnvQueryNode
- UEnvQueryGenerator
- UEnvQueryGenerator_PerceivedActors
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
Type | Name | Description | |
---|---|---|---|
![]() |
TSubclassOf< AActor > | AllowedActorClass | If set will be used to filter results |
![]() |
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"). |
![]() |
TSubclassOf< UEnvQueryContext > | ListenerContext | The perception listener to use as a source of information |
![]() |
FAIDataProviderFloatValue | SearchRadius | Additional distance limit imposed on the items generated. Perception's range limit still applies. |
![]() |
TSubclassOf< UAISense > | SenseToUse | If set will be used to filter gathered results so that only actors perceived with a given sense are considered |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UEnvQueryGenerator_PerceivedActors
(
const FObjectInitializer& ObjectInitializer |
Overridden from UEnvQueryGenerator
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | GenerateItems
(
FEnvQueryInstance& QueryInstance |