The navmesh border data structure. More...
Public Member Functions | |
void | ComputeNormal (NavMesh navMesh) |
Computed the normal of the border based on the two connected vertices. More... | |
void | Serialize (ByteStream stream, Boolean write, NavMesh navMesh) |
Serialize or deserialize the vertex data to an asset. More... | |
Public Attributes | |
FPVector3 | Normal |
The normal of the border based on the two connected vertices. More... | |
NavMeshRegionMask | Regions |
The region mask that this border belongs to. More... | |
NavMeshRegionMask | RegionsOffmesh |
The region mask that the other side of the border belongs to. Borders can be manifested between two regions when one of them in enabled and the other disabled. More... | |
int | V0 |
Vertex index 0 pointing into NavMesh.Vertices. More... | |
int | V1 |
Vertex index 1 pointing into NavMesh.Vertices. More... | |
The navmesh border data structure.
|
inline |
Computed the normal of the border based on the two connected vertices.
navMesh | Navmesh |
|
inline |
Serialize or deserialize the vertex data to an asset.
stream | Asset stream |
write | Write or read |
navMesh | Navmesh instance |
int Quantum.NavMeshBorder.V0 |
Vertex index 0 pointing into NavMesh.Vertices.
int Quantum.NavMeshBorder.V1 |
Vertex index 1 pointing into NavMesh.Vertices.
NavMeshRegionMask Quantum.NavMeshBorder.Regions |
The region mask that this border belongs to.
NavMeshRegionMask Quantum.NavMeshBorder.RegionsOffmesh |
The region mask that the other side of the border belongs to. Borders can be manifested between two regions when one of them in enabled and the other disabled.
FPVector3 Quantum.NavMeshBorder.Normal |
The normal of the border based on the two connected vertices.