Class NavMeshArea
- Namespace
- ValveResourceFormat.NavMesh
- Assembly
- ValveResourceFormat.dll
Represents a navigation mesh area.
public class NavMeshArea
Inheritance
Inherited Members
Properties
AreaId
Gets or sets the area identifier.
public uint AreaId { get; set; }
Property Value
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[]
DynamicAttributeFlags
Gets or sets the dynamic attribute flags.
public DynamicAttributeFlags DynamicAttributeFlags { get; set; }
Property Value
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[]
Methods
Read(BinaryReader, NavMeshFile, Vector3[][])
Reads the navigation mesh area from a binary reader.
public void Read(BinaryReader binaryReader, NavMeshFile navMeshFile, Vector3[][] polygons = null)
Parameters
binaryReader
BinaryReadernavMeshFile
NavMeshFilepolygons
Vector3[][]