NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::NavigationSystem Class Reference

#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

Detailed Description

Definition at line 19 of file NavigationSystem.h.

Member Function Documentation

◆ Bake()

◆ CalculatePath()

NavPointPath NoJob::NavigationSystem::CalculatePath ( const glm::vec3 & startPosition,
const glm::vec3 & destination ) const

◆ Clear()

void NoJob::NavigationSystem::Clear ( )

Definition at line 51 of file NavigationSystem.cpp.

Referenced by Bake(), and main().

◆ FindPolygon()

NavPolygonID NoJob::NavigationSystem::FindPolygon ( const glm::vec3 & position) const

Definition at line 58 of file NavigationSystem.cpp.

References NoJob::InvalidNavPolygonID.

Referenced by CalculatePath().

◆ GetGenerationSettings() [1/2]

NavMeshGenerationSettings & NoJob::NavigationSystem::GetGenerationSettings ( )
inline

Definition at line 43 of file NavigationSystem.h.

◆ GetGenerationSettings() [2/2]

const NavMeshGenerationSettings & NoJob::NavigationSystem::GetGenerationSettings ( ) const
inline

Definition at line 49 of file NavigationSystem.h.

◆ GetNavMesh()

const NavMesh & NoJob::NavigationSystem::GetNavMesh ( ) const
inline

Definition at line 38 of file NavigationSystem.h.

◆ GetNavMeshVersion()

std::uint64_t NoJob::NavigationSystem::GetNavMeshVersion ( ) const
inline

Definition at line 53 of file NavigationSystem.h.

◆ HasNavMesh()

bool NoJob::NavigationSystem::HasNavMesh ( ) const
inline

Definition at line 33 of file NavigationSystem.h.

Referenced by main().


The documentation for this class was generated from the following files: