Navigation
API > API/Plugins > API/Plugins/GameplayStateTreeModule > API/Plugins/GameplayStateTreeModule/Tasks
References
| Module | GameplayStateTreeModule |
| Header | /Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Public/Tasks/StateTreeRunEnvQueryTask.h |
| Include | #include "Tasks/StateTreeRunEnvQueryTask.h" |
Syntax
USTRUCT ()
struct FStateTreeRunEnvQueryInstanceData
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FAIDynamicParam > | QueryConfig | Query config associated with the query template. | |
| TObjectPtr< AActor > | QueryOwner | The query will be run with this actor has the owner object. | |
| TSharedPtr< FEnvQueryResult > | QueryResult | ||
| TObjectPtr< UEnvQuery > | QueryTemplate | The query template to run. | |
| int32 | RequestId | ||
| FStateTreePropertyRef | Result | Result of the query. If an array is binded, it will output all the created values otherwise it will output the best one. | |
| TEnumAsByte< EEnvQueryRunMode::Type > | RunMode | Determines which item will be stored (All = only first matching) |