![]() |
Dungeon Architect
17.0.0
|
The MeshTile contains the map data for pathfinding More...
Public Member Functions | |
| void | ClosestPointOnPoly (Poly poly, Vector3 pos, ref Vector3 closest) |
| Given a point, find the closest point on that poly. More... | |
| void | ClosestPointOnPoly (int indexPoly, Vector3 pos, ref Vector3 closest) |
| Given a point, find the closest point on that poly. More... | |
| void | ClosestPointOnPolyBoundary (Poly poly, Vector3 pos, out Vector3 closest) |
| Given a point, find the closest point on that poly. More... | |
| bool | ClosestHeight (int indexPoly, Vector3 pos, out float h) |
| Find the distance from a point to a triangle. More... | |
| void | ClosestPointOnPolyOffMeshConnection (Poly poly, Vector3 pos, out Vector3 closest) |
| Find the closest point on an offmesh connection, which is in between the two points. More... | |
Properties | |
| int | Salt [get, set] |
| Gets or sets the counter describing modifications to the tile More... | |
| int | LinksFreeList [get, set] |
| Gets or sets the index to the next free link More... | |
| PathfindingCommon.NavMeshInfo | Header [get, set] |
| Gets or sets the header More... | |
| Poly[] | Polys [get, set] |
| Gets or sets the PolyMesh polygons More... | |
| Vector3[] | Verts [get, set] |
| Gets or sets the PolyMesh vertices More... | |
| Link[] | Links [get, set] |
| Gets or sets the links between polygons More... | |
| PolyMeshDetail.MeshData[] | DetailMeshes [get, set] |
| Gets or sets the PolyMeshDetail data More... | |
| Vector3[] | DetailVerts [get, set] |
| Gets or sets the PolyMeshDetail vertices More... | |
| PolyMeshDetail.TriangleData[] | DetailTris [get, set] |
| Gets or sets the PolyMeshDetail triangles More... | |
| OffMeshConnection[] | OffMeshConnections [get, set] |
| Gets or sets the OffmeshConnections More... | |
| BVTree | BVTree [get, set] |
| Gets or sets the bounding volume tree More... | |
| NavMeshBuilder | Data [get, set] |
| Gets or sets the NavMeshBuilder data More... | |
| MeshTile | Next [get, set] |
| Gets or sets the next MeshTile More... | |
The MeshTile contains the map data for pathfinding
Definition at line 20 of file MeshTile.cs.
| bool SharpNav.Pathfinding.MeshTile.ClosestHeight | ( | int | indexPoly, |
| Vector3 | pos, | ||
| out float | h | ||
| ) |
Find the distance from a point to a triangle.
| indexPoly | Current polygon's index |
| pos | Current position |
| h | Resulting height |
Definition at line 182 of file MeshTile.cs.
| void SharpNav.Pathfinding.MeshTile.ClosestPointOnPoly | ( | int | indexPoly, |
| Vector3 | pos, | ||
| ref Vector3 | closest | ||
| ) |
Given a point, find the closest point on that poly.
| indexPoly | The current poly's index |
| pos | The current position |
| closest | Reference to the closest point |
Definition at line 114 of file MeshTile.cs.
| void SharpNav.Pathfinding.MeshTile.ClosestPointOnPoly | ( | Poly | poly, |
| Vector3 | pos, | ||
| ref Vector3 | closest | ||
| ) |
Given a point, find the closest point on that poly.
| poly | The current polygon. |
| pos | The current position |
| closest | Reference to the closest point |
Definition at line 93 of file MeshTile.cs.
| void SharpNav.Pathfinding.MeshTile.ClosestPointOnPolyBoundary | ( | Poly | poly, |
| Vector3 | pos, | ||
| out Vector3 | closest | ||
| ) |
Given a point, find the closest point on that poly.
| poly | The current polygon. |
| pos | The current position |
| closest | Reference to the closest point |
Definition at line 138 of file MeshTile.cs.
| void SharpNav.Pathfinding.MeshTile.ClosestPointOnPolyOffMeshConnection | ( | Poly | poly, |
| Vector3 | pos, | ||
| out Vector3 | closest | ||
| ) |
Find the closest point on an offmesh connection, which is in between the two points.
| poly | Current polygon |
| pos | Current position |
| closest | Resulting point that is closest. |
Definition at line 215 of file MeshTile.cs.
|
getset |
Gets or sets the bounding volume tree
Definition at line 75 of file MeshTile.cs.
|
getset |
Gets or sets the NavMeshBuilder data
Definition at line 80 of file MeshTile.cs.
|
getset |
Gets or sets the PolyMeshDetail data
Definition at line 55 of file MeshTile.cs.
|
getset |
Gets or sets the PolyMeshDetail triangles
Definition at line 65 of file MeshTile.cs.
|
getset |
Gets or sets the PolyMeshDetail vertices
Definition at line 60 of file MeshTile.cs.
|
getset |
Gets or sets the header
Definition at line 35 of file MeshTile.cs.
|
getset |
Gets or sets the links between polygons
Definition at line 50 of file MeshTile.cs.
|
getset |
Gets or sets the index to the next free link
Definition at line 30 of file MeshTile.cs.
|
getset |
Gets or sets the next MeshTile
Definition at line 85 of file MeshTile.cs.
|
getset |
Gets or sets the OffmeshConnections
Definition at line 70 of file MeshTile.cs.
|
getset |
Gets or sets the PolyMesh polygons
Definition at line 40 of file MeshTile.cs.
|
getset |
Gets or sets the counter describing modifications to the tile
Definition at line 25 of file MeshTile.cs.
|
getset |
Gets or sets the PolyMesh vertices
Definition at line 45 of file MeshTile.cs.