Triangles are expected to have clock-wise winding order. Not all fields have to be filled out. Some of them are only needed for the legacy navmesh drawing tool. More...
Static Public Member Functions | |
static void | Serialize (ByteStream stream, bool write, ref NavMeshBakeDataTriangle instance) |
Asset serialization. More... | |
Public Attributes | |
int | Area |
Unused. More... | |
FP | Cost |
The cost of the triangle. Default should be FP._1. More... | |
String | RegionId |
The region that this triangle belongs to. Default is null . More... | |
Int32[] | VertexIds |
Must have length of 3. The referenced vertices as indices into the vertex array. More... | |
Triangles are expected to have clock-wise winding order. Not all fields have to be filled out. Some of them are only needed for the legacy navmesh drawing tool.
|
inlinestatic |
Asset serialization.
stream | Input stream |
write | Write or read |
instance | Instance to serialize |
Int32 [] Quantum.NavMeshBakeDataTriangle.VertexIds |
Must have length of 3. The referenced vertices as indices into the vertex array.
String Quantum.NavMeshBakeDataTriangle.RegionId |
The region that this triangle belongs to. Default is null
.
FP Quantum.NavMeshBakeDataTriangle.Cost |
The cost of the triangle. Default should be FP._1.
int Quantum.NavMeshBakeDataTriangle.Area |
Unused.