![]() |
Dungeon Architect
17.0.0
|
The NavMeshBuilder class converst PolyMesh and PolyMeshDetail into a different data structure suited for pathfinding. This class will create tiled data. More...
Public Member Functions | |
| NavMeshBuilder (PolyMesh polyMesh, PolyMeshDetail polyMeshDetail, OffMeshConnection[] offMeshCons, NavMeshGenerationSettings settings) | |
| Initializes a new instance of the NavMeshBuilder class. Add all the PolyMesh and PolyMeshDetail attributes to the Navigation Mesh. Then, add Off-Mesh connection support. More... | |
Properties | |
| PathfindingCommon.NavMeshInfo | Header [get] |
| Gets the file header More... | |
| Vector3[] | NavVerts [get] |
| Gets the PolyMesh vertices More... | |
| Poly[] | NavPolys [get] |
| Gets the PolyMesh polygons More... | |
| PolyMeshDetail.MeshData[] | NavDMeshes [get] |
| Gets the PolyMeshDetail mesh data (the indices of the vertices and triagles) More... | |
| Vector3[] | NavDVerts [get] |
| Gets the PolyMeshDetail vertices More... | |
| PolyMeshDetail.TriangleData[] | NavDTris [get] |
| Gets the PolyMeshDetail triangles More... | |
| BVTree | NavBvTree [get] |
| Gets the bounding volume tree More... | |
| OffMeshConnection[] | OffMeshCons [get] |
| Gets the offmesh connection data More... | |
The NavMeshBuilder class converst PolyMesh and PolyMeshDetail into a different data structure suited for pathfinding. This class will create tiled data.
Definition at line 25 of file NavMeshBuilder.cs.
| SharpNav.NavMeshBuilder.NavMeshBuilder | ( | PolyMesh | polyMesh, |
| PolyMeshDetail | polyMeshDetail, | ||
| OffMeshConnection[] | offMeshCons, | ||
| NavMeshGenerationSettings | settings | ||
| ) |
Initializes a new instance of the NavMeshBuilder class. Add all the PolyMesh and PolyMeshDetail attributes to the Navigation Mesh. Then, add Off-Mesh connection support.
| polyMesh | The PolyMesh |
| polyMeshDetail | The PolyMeshDetail |
| offMeshCons | Offmesh connection data |
| settings | The settings used to build. |
Definition at line 45 of file NavMeshBuilder.cs.
|
get |
Gets the file header
Definition at line 380 of file NavMeshBuilder.cs.
|
get |
Gets the bounding volume tree
Definition at line 446 of file NavMeshBuilder.cs.
|
get |
Gets the PolyMeshDetail mesh data (the indices of the vertices and triagles)
Definition at line 413 of file NavMeshBuilder.cs.
|
get |
Gets the PolyMeshDetail triangles
Definition at line 435 of file NavMeshBuilder.cs.
|
get |
Gets the PolyMeshDetail vertices
Definition at line 424 of file NavMeshBuilder.cs.
|
get |
Gets the PolyMesh polygons
Definition at line 402 of file NavMeshBuilder.cs.
|
get |
Gets the PolyMesh vertices
Definition at line 391 of file NavMeshBuilder.cs.
|
get |
Gets the offmesh connection data
Definition at line 457 of file NavMeshBuilder.cs.