Nebula
Toggle main menu visibility
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
"
25
#include "
navigationfeature/navquery.h
"
26
27
namespace
NavigationFeature
28
{
29
31
void
RegisterEditorContributions();
33
void
ClearEditorContributions();
34
36
struct
NavigationDisplay
37
{
39
bool
navMeshes =
true
;
41
bool
areaVolumes =
true
;
42
};
43
NavigationDisplay& GetNavigationDisplay();
44
46
void
BeginOutlineEdit(Game::Entity entity);
48
void
EndOutlineEdit();
50
Game::Entity OutlineEditTarget();
52
IndexT
OutlineHoveredPoint();
54
void
SetOutlineHighlightedPoint(
IndexT
index);
55
57
void
BeginPathTest(Navigation::NavMeshId navMesh);
59
void
EndPathTest();
60
bool
IsPathTesting();
62
Navigation::NavMeshId PathTestNavMesh();
64
QueryFilter
& PathTestFilter();
66
const
NavPath
& PathTestPath();
67
bool
PathTestHasStart();
68
bool
PathTestHasEnd();
70
void
ClearPathTest();
72
void
SetPathTestPoint(
bool
end,
const
Math::point& point);
73
75
void
CreateAreaVolume(
const
char
* area);
76
77
}
// namespace NavigationFeature
78
#endif
// WITH_NEBULA_EDITOR
79
//------------------------------------------------------------------------------
entity.h
NavigationFeature
Queries on a loaded navmesh.
Definition
agentmanager.cc:30
navquery.h
NavigationFeature::NavPath
Definition
navquery.h:53
NavigationFeature::QueryFilter
Definition
navquery.h:29
IndexT
int IndexT
Definition
types.h:49
code
addons
navigationfeature
editor
navigationeditor.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.