Class NavMeshArea
Namespace: ValveResourceFormat.NavMesh
Assembly: ValveResourceFormat.dll
Represents a navigation mesh area.
public class NavMeshAreaInheritance
Properties
AreaId
Gets or sets the area identifier.
public uint AreaId { get; set; }Property Value
AttributeFlags
Gets or sets the base attribute flags of this area.
public NavAttributeFlags AttributeFlags { get; set; }Property Value
Remarks
Areas also have a dynamic attribute set, that one is a 32-bit runtime only value and is never stored in the file. The named values of only apply to version 35 and newer.
Connections
Gets or sets the connections to other areas.
public NavMeshConnection[][] Connections { get; set; }Property Value
Corners
Gets or sets the corner vertices.
public Vector3[] Corners { get; set; }Property Value
Vector3[]
HullIndex
Gets or sets the hull index.
public byte HullIndex { get; set; }Property Value
LaddersAbove
Gets or sets the ladders above this area.
public uint[] LaddersAbove { get; set; }Property Value
uint[]
LaddersBelow
Gets or sets the ladders below this area.
public uint[] LaddersBelow { get; set; }Property Value
uint[]
MovableMeshId
Gets or sets the id of the movable nav mesh this area belongs to, or when it belongs to the static world.
public uint MovableMeshId { get; set; }Property Value
Methods
Read(BinaryReader, NavMeshFile, NavMeshPolygon[]?)
Reads the navigation mesh area from a binary reader.
public void Read(BinaryReader binaryReader, NavMeshFile navMeshFile, NavMeshPolygon[]? polygons = null)Parameters
binaryReader BinaryReader
navMeshFile NavMeshFile
polygons NavMeshPolygon[]?

