struct
FEnvQueryRequest
What a run needs from the world. The two callbacks are optional: a Trace test without one passes everything (and says so once), a Pathfind test without one scores straight-line distance.
- Module
- AINavigation
- Header
#include "AINavigation/EnvQueryAsset.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
Vec3 | Querier | |
Vec3 | QuerierForward | Default Vec3(0.0f, 0.0f, 1.0f). |
Vec3 | Target | |
bool | HasTarget | Default false. |
std::function<bool(const Vec3& from, const Vec3& to)> | LineOfSight | True when the line from from to to is clear. |
std::function<float(const Vec3& from, const Vec3& to)> | PathLength | Path length from from to to, or a negative number when unreachable. |
std::function<bool(const Vec3& point, float verticalExtent, Vec3& out)> | ProjectToNav | Nearest navmesh point within verticalExtent of point; false off-mesh. |
std::function<void(const Vec3& center, float radius, int32_t maxPoints, std::vector<Vec3>& out)> | ReachablePoints | Polygon centres reachable from center within radius of path. |
std::function<void(const std::string& tag, std::vector<Vec3>& out)> | ActorsWithTag | Locations of the actors carrying tag. |
uint32_t | RandomSeed | Default 1. |
Generated from AINavigation/EnvQueryAsset.h via ainavigation.json · Oct 27, 2026Version 1.0.0