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

TypeNameDescription
Vec3Querier
Vec3QuerierForwardDefault Vec3(0.0f, 0.0f, 1.0f).
Vec3Target
boolHasTargetDefault false.
std::function<bool(const Vec3& from, const Vec3& to)>LineOfSightTrue when the line from from to to is clear.
std::function<float(const Vec3& from, const Vec3& to)>PathLengthPath length from from to to, or a negative number when unreachable.
std::function<bool(const Vec3& point, float verticalExtent, Vec3& out)>ProjectToNavNearest navmesh point within verticalExtent of point; false off-mesh.
std::function<void(const Vec3& center, float radius, int32_t maxPoints, std::vector<Vec3>& out)>ReachablePointsPolygon centres reachable from center within radius of path.
std::function<void(const std::string& tag, std::vector<Vec3>& out)>ActorsWithTagLocations of the actors carrying tag.
uint32_tRandomSeedDefault 1.
Generated from AINavigation/EnvQueryAsset.h via ainavigation.json · Oct 27, 2026Version 1.0.0