struct

NavMeshBuilder::Snapshot

Thread-safe snapshot of every walkable triangle in the scene at the moment SnapshotScene was called. Cheap to move between threads (just std::vector buffers). Produced on the main thread (touches ECS); consumed by Recast on either thread.

Module
AINavigation
Header
#include "AINavigation/NavMeshBuilder.h"
Namespace
Mowo

Properties

TypeNameDescription
std::vector<float>verticesinterleaved xyz
std::vector<int>triangles3 ints per tri
std::vector<uint8_t>triAreas1 area type per tri (0 = default walkable)
inttriangleCountDefault 0.
Vec3boundsMinDefault Vec3(1e30f, 1e30f, 1e30f).
Vec3boundsMaxDefault Vec3(-1e30f, -1e30f, -1e30f).
std::vector<OffMeshConnection>links
uint64_tterrainRevisionFold of every terrain's paint and build state at snapshot time. The CDLOD terrain contributes no CPU mesh, so nothing else in this snapshot notices a hole being painted or erased — and a hole is exactly what removes triangles from the soup. Compare against TerrainGeometryRevision to know a bake went stale. Default 0.
Generated from AINavigation/NavMeshBuilder.h via ainavigation.json · Oct 27, 2026Version 1.0.0