|
NoJobEngine 2.0.7
|
#include <NavigationSystem.h>
Public Member Functions | |
| bool | Bake (Scene &scene) |
| void | Clear () |
| NavPolygonID | FindPolygon (const glm::vec3 &position) const |
| NavPointPath | CalculatePath (const glm::vec3 &startPosition, const glm::vec3 &destination) const |
| bool | HasNavMesh () const |
| const NavMesh & | GetNavMesh () const |
| NavMeshGenerationSettings & | GetGenerationSettings () |
| const NavMeshGenerationSettings & | GetGenerationSettings () const |
| std::uint64_t | GetNavMeshVersion () const |
Definition at line 19 of file NavigationSystem.h.
| bool NoJob::NavigationSystem::Bake | ( | Scene & | scene | ) |
Definition at line 19 of file NavigationSystem.cpp.
References Clear(), NoJob::NavMeshGeometryExtractor::Extract(), NoJob::NavMeshGenerator::Generate(), NoJob::NavMesh::GetPolygonCount(), NoJob::NavMeshSourceGeometry::Indices, NoJob::NavMeshGenerationSettings::MergePolygons, NoJob::NavMeshVoxelizer::Rasterize(), NoJob::NavMeshGenerationSettings::VertexWeldTolerance, and NoJob::NavMeshSourceGeometry::Vertices.
Referenced by main().
| NavPointPath NoJob::NavigationSystem::CalculatePath | ( | const glm::vec3 & | startPosition, |
| const glm::vec3 & | destination ) const |
Definition at line 91 of file NavigationSystem.cpp.
References NoJob::NavMeshFunnel::BuildPath(), NoJob::NavMeshPathfinder::FindPath(), FindPolygon(), NoJob::InvalidNavPolygonID, and NoJob::NavPath::IsValid().
Referenced by NoJob::NavAgent::RecalculatePath(), and NoJob::NavAgent::SetDestination().
| void NoJob::NavigationSystem::Clear | ( | ) |
Definition at line 51 of file NavigationSystem.cpp.
| NavPolygonID NoJob::NavigationSystem::FindPolygon | ( | const glm::vec3 & | position | ) | const |
Definition at line 58 of file NavigationSystem.cpp.
References NoJob::InvalidNavPolygonID.
Referenced by CalculatePath().
|
inline |
Definition at line 43 of file NavigationSystem.h.
|
inline |
Definition at line 49 of file NavigationSystem.h.
|
inline |
Definition at line 38 of file NavigationSystem.h.
|
inline |
Definition at line 53 of file NavigationSystem.h.
|
inline |
Definition at line 33 of file NavigationSystem.h.
Referenced by main().