Open 3D Engine RecastNavigation Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
RecastNavigation::NavMeshQuery::LockGuard Class Reference

#include <NavMeshQuery.h>

Public Member Functions

 LockGuard (NavMeshQuery &navMesh)
 
dtNavMesh * GetNavMesh ()
 Navigation mesh accessor.
 
dtNavMeshQuery * GetNavQuery ()
 Navigation mesh query accessor.
 

Detailed Description

A lock guard class with accessors for navigation mesh and query objects. A lock is held in place until this object goes out of scope. Release this object as soon as you are done working with the navigation mesh.

Constructor & Destructor Documentation

◆ LockGuard()

RecastNavigation::NavMeshQuery::LockGuard::LockGuard ( NavMeshQuery navMesh)
inlineexplicit

Grabs a lock on a mutex in @NavMeshQuery

Parameters
navMeshnavigation mesh to hold on to

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