Nebula
Loading...
Searching...
No Matches
navigationeditor.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
22//------------------------------------------------------------------------------
23#if WITH_NEBULA_EDITOR
24#include "game/entity.h"
26
27namespace NavigationFeature
28{
29
31void RegisterEditorContributions();
33void ClearEditorContributions();
34
36struct NavigationDisplay
37{
39 bool navMeshes = true;
41 bool areaVolumes = true;
42};
43NavigationDisplay& GetNavigationDisplay();
44
46void BeginOutlineEdit(Game::Entity entity);
48void EndOutlineEdit();
50Game::Entity OutlineEditTarget();
52IndexT OutlineHoveredPoint();
54void SetOutlineHighlightedPoint(IndexT index);
55
57void BeginPathTest(Navigation::NavMeshId navMesh);
59void EndPathTest();
60bool IsPathTesting();
62Navigation::NavMeshId PathTestNavMesh();
64QueryFilter& PathTestFilter();
66const NavPath& PathTestPath();
67bool PathTestHasStart();
68bool PathTestHasEnd();
70void ClearPathTest();
72void SetPathTestPoint(bool end, const Math::point& point);
73
75void CreateAreaVolume(const char* area);
76
77} // namespace NavigationFeature
78#endif // WITH_NEBULA_EDITOR
79//------------------------------------------------------------------------------
Queries on a loaded navmesh.
Definition agentmanager.cc:30
Definition navquery.h:53
Definition navquery.h:29
int IndexT
Definition types.h:49