The navmesh vertex data structure is saves as an array in the NavMesh.Vertices.
More...
The navmesh vertex data structure is saves as an array in the NavMesh.Vertices.
◆ Serialize()
void Quantum.NavMeshVertex.Serialize |
( |
ByteStream |
stream, |
|
|
Boolean |
write |
|
) |
| |
|
inline |
Serialize or deserialize the vertex data.
- Parameters
-
stream | Stream |
write | Write or read |
◆ CalculateNormal()
Computes the normal of the vertex against all adjacent borders.
- Parameters
-
vertexIndex | The vertex index |
navmesh | The navmesh |
regionMask | The region mask to include or exclude borders. |
- Returns
- The normal agaist all borders at the vertex or FPVector3.Zero.
◆ Point
The world position of the navmesh vertex.
◆ Borders
Int32 [] Quantum.NavMeshVertex.Borders |
The borders that are connected to the vertex are pointing into NavMesh.Borders.