Struct NavMeshPolygon ​
Namespace: ValveResourceFormat.NavMesh
Assembly: ValveResourceFormat.dll
Represents a polygon in a navigation mesh.
csharp
public readonly struct NavMeshPolygonProperties ​
CornerGravity ​
Gets the gravity direction at each corner, parallel to NavMeshPolygon.Corners, or null when the file does not store gravity directions. Only stored in version 32 and newer.
csharp
public Vector3[]? CornerGravity { get; init; }Property Value ​
Vector3[]?
Corners ​
Gets the corner vertices of this polygon.
csharp
public Vector3[] Corners { get; init; }Property Value ​
Vector3[]
MovableMeshId ​
Gets the id of the movable nav mesh this polygon belongs to, or NavMeshFile.NoMovableMesh when it belongs to the static world. Only stored in version 35 and newer.
csharp
public uint MovableMeshId { get; init; }Property Value ​
uint

