A* Pathfinding Project  4.1.12
The A* Pathfinding Project for Unity 3D
RecastGraphEditor Class Reference

Editor for the RecastGraph. More...

Detailed Description

Editor for the RecastGraph.

A* Pro Feature:
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited
The Pro version can be bought here

Public Types

enum  UseTiles { UseTiles = 0, DontUseTiles = 1 }
 

Public Member Functions

override void OnInspectorGUI (NavGraph target)
 Override to implement graph inspectors. More...
 
- Public Member Functions inherited from GraphEditor
bool AutoScan ()
 Called by editor scripts to rescan the graphs e.g when the user moved a graph. More...
 
void OnBaseInspectorGUI (NavGraph target)
 Draws common graph settings. More...
 
virtual void OnEnable ()
 
virtual void OnSceneGUI (NavGraph target)
 Override to implement scene GUI drawing for the graph. More...
 
bool ToggleGroup (string label, bool value)
 Draws a toggle with a bold label to the right. More...
 

Static Public Member Functions

static void ExportToFile (RecastGraph target)
 Exports the INavmesh graph to a .obj file. More...
 
- Static Public Member Functions inherited from GraphEditor
static bool FixLabel (string label, string buttonLabel="Fix", int buttonWidth=40)
 Draws a small help box with a 'Fix' button to the right. More...
 
static Object ObjectField (string label, Object obj, System.Type objType, bool allowSceneObjects)
 
static Object ObjectField (GUIContent label, Object obj, System.Type objType, bool allowSceneObjects)
 
static void Separator ()
 Draws a thin separator line. More...
 
static bool ToggleGroup (GUIContent label, bool value)
 Draws a toggle with a bold label to the right. More...
 

Static Public Attributes

static bool tagMaskFoldout
 

Additional Inherited Members

- Public Attributes inherited from GraphEditor
AstarPathEditor editor
 
FadeArea fadeArea
 Stores if the graph is visible or not in the inspector. More...
 
FadeArea infoFadeArea
 Stores if the graph info box is visible or not in the inspector. More...
 
- Public Attributes inherited from GraphEditorBase
NavGraph target
 NavGraph this editor is exposing. More...
 

Member Enumeration Documentation

◆ UseTiles

enum UseTiles
strong
Enumerator
UseTiles 
DontUseTiles 

Member Function Documentation

◆ ExportToFile()

static void ExportToFile ( RecastGraph  target)
static

Exports the INavmesh graph to a .obj file.

◆ OnInspectorGUI()

override void OnInspectorGUI ( NavGraph  target)
virtual

Override to implement graph inspectors.

Reimplemented from GraphEditor.

Member Data Documentation

◆ tagMaskFoldout

bool tagMaskFoldout
static

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