class
FEnvQueryInstance
One query run as a resumable job: generation, then each test measured item by item under a budget, then the pick. Run() drives it to the end in one call; FEnvQueryManager spreads it across frames (UE's time-sliced UEnvQueryManager), which is why the request callbacks must stay valid until the instance finishes.
- Module
- AINavigation
- Header
#include "AINavigation/EnvQueryAsset.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
FEnvQueryInstance(const EnvQueryAsset& query, FEnvQueryRequest request, Ref<EnvQ… | FEnvQueryInstance | keepAlive holds a refcounted asset for a queued run; a synchronous run over a stack asset passes none. |
Public functions
| Returns | Name | Description |
|---|---|---|
int32_t | Step | Spends up to itemBudget item measurements (<= 0: no limit) and returns how many it spent. |
bool | IsDone | |
FEnvQueryResult& | Result |
Function details
FEnvQueryInstance
C++
FEnvQueryInstance(const EnvQueryAsset& query, FEnvQueryRequest request, Ref<EnvQueryAsset> keepAlive = Ref<EnvQueryAsset>())keepAlive holds a refcounted asset for a queued run; a synchronous run over a stack asset passes none.
Step
C++
int32_t Step(int32_t itemBudget)Spends up to itemBudget item measurements (<= 0: no limit) and returns how many it spent. Generation and the pick count as one each.
IsDone
C++
bool IsDone() constResult
C++
FEnvQueryResult& Result()Generated from AINavigation/EnvQueryAsset.h via ainavigation.json · Oct 27, 2026Version 1.0.0