|
Nebula
|
#include "foundation/stdneb.h"#include "navbuild/navmeshasset.h"#include "navbuild/geometrysources.h"#include "nflatbuffer/flatbufferinterface.h"#include "io/ioserver.h"#include "io/path.h"#include "physics/geometry.h"#include "physics/formats/formats.h"#include "DetourAlloc.h"Classes | |
| class | Navigation::Build::InputHasher |
| FNV-1a, 64 bit. More... | |
Namespaces | |
| namespace | Navigation |
| Navigation::Build geometry sources. | |
| namespace | Navigation::Build |
Functions | |
| void | Navigation::Build::RegisterPathMappings () |
| register the work and export extensions of the nav URN type | |
| bool | Navigation::Build::SetupBuildInput (const NavMeshT &description, const AreaTable &areas, BuildInput &out) |
| fill a build input from a description, loading every source through the geometry loader and resolving area names with the area table | |
| uint64_t | Navigation::Build::InputHash (const void *workData, SizeT workSize, const AreaTable &areas, const BuildInput &input) |
| The description is part of the work data, only the geometry it points at has to be added. | |
| bool | Navigation::Build::IsBakedNavMesh (const void *data, SizeT size) |
| check that a buffer holds a baked navmesh | |
| bool | Navigation::Build::ReadInputHash (const IO::URI &exportFile, uint64_t &hash) |
| read the input hash stored in a baked navmesh, returns false if the file is missing or not a baked navmesh | |
| static bool | Navigation::Build::ReadWorkFile (const IO::URI &workFile, Util::Blob &data, NavMeshT &description) |
| static bool | Navigation::Build::WriteBakedNavMesh (const IO::URI &exportFile, const NavMeshT &description, const BuildOutput &output, uint64_t hash) |
| BakeResult | Navigation::Build::BakeNavMesh (const IO::URI &workFile, const IO::URI &exportFile, bool force) |
| bake a work file to an export file, registers the default geometry loader if none is registered. | |
| dtNavMesh * | Navigation::Build::CreateDetourNavMesh (const BakedNavMesh *baked) |
| create a Detour navmesh from baked data, the tile data is copied. Free with dtFreeNavMesh | |