Class NavFlowMapNode
Namespace: ValveResourceFormat.NavMesh
Assembly: ValveResourceFormat.dll
A cluster of connected navigation mesh areas in a NavFlowMapFile.
csharp
public class NavFlowMapNodeInheritance
object ← NavFlowMapNode
Properties
AreaIds
Gets the NavMeshArea.AreaId of every navigation mesh area in this cluster.
csharp
public uint[] AreaIds { get; init; }Property Value
uint[]
Center
Gets the centre of the cluster.
csharp
public Vector3 Center { get; init; }Property Value
Connections
Gets the connections to neighbouring clusters.
csharp
public NavFlowMapConnection[] Connections { get; init; }Property Value
FlowMap
Gets the next hop towards every cluster of the hull, run-length encoded. Each entry packs the first destination cluster it covers in its upper 12 bits and an index into NavFlowMapNode.Connections in its lower 4 bits, where 15 means unreachable. An entry covers every destination up to the start of the next one.
csharp
public ushort[] FlowMap { get; init; }Property Value
ushort[]
Index
Gets the index this cluster was written with, which matches its position in NavFlowMapHull.Nodes.
csharp
public int Index { get; init; }Property Value
int

