Class NavSpaceTransition
Namespace: ValveResourceFormat.NavMesh
Assembly: ValveResourceFormat.dll
A connection between two blocks of a NavSpaceFile. Transitions are undirected, and each pair of blocks is stored once.
csharp
public class NavSpaceTransitionInheritance
object ← NavSpaceTransition
Properties
Bounds
Gets the bounding box of the transition.
csharp
public AABB Bounds { get; init; }Property Value
FromBlockId
Gets the NavSpaceBlock.Id of the first block.
csharp
public uint FromBlockId { get; init; }Property Value
uint
ToBlockId
Gets the NavSpaceBlock.Id of the second block.
csharp
public uint ToBlockId { get; init; }Property Value
uint
Vertices
Gets the vertices of the region where the hulls of both blocks overlap, in no particular order. Blocks that only touch use the overlap of their hulls grown by 2 units. A few transitions extend further than both blocks.
csharp
public Vector3[] Vertices { get; init; }Property Value
Vector3[]

