A* Pathfinding Project  3.6.6
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
RecastGraphEditor Class Reference

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
More...

Detailed Description

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

void ExportToFile (RecastGraph target)
 Exports the INavmesh graph to a .obj file.
 
override void OnDestroy ()
 
override void OnDisable ()
 
override void OnDrawGizmos ()
 Override to implement scene Gizmos drawing for the graph editor.
 
override void OnEnable ()
 
override void OnInspectorGUI (NavGraph target)
 Override to implement graph inspectors.
 
override void OnSceneGUI (NavGraph target)
 Override to implement scene GUI drawing for the graph.
 
void UpdateDebugMesh (AstarPath astar)
 
- Public Member Functions inherited from GraphEditor
bool AutoScan ()
 Called by editor scripts to rescan the graphs e.g when the user moved a graph.
 
void DrawCollisionEditor (GraphCollision collision)
 Draws the inspector for a GraphCollision class .
 
bool FixLabel (string label, string buttonLabel="Fix", int buttonWidth=40)
 Draws a small help box with a 'Fix' button to the right.
 
void HelpBox (string label)
 Draws a small help box.
 
Object ObjectField (string label, Object obj, System.Type objType, bool allowSceneObjects)
 
Object ObjectField (GUIContent label, Object obj, System.Type objType, bool allowSceneObjects)
 
void OnBaseInspectorGUI (NavGraph target)
 Draws common graph settings.
 
void Separator ()
 Draws a thin separator line.
 
bool ToggleGroup (string label, bool value)
 Draws a toggle with a bold label to the right.
 
bool ToggleGroup (GUIContent label, bool value)
 Draws a toggle with a bold label to the right.
 

Public Attributes

Mesh navmeshRender
 
Renderer navmeshRenderer
 
- Public Attributes inherited from GraphEditor
AstarPathEditor editor
 
- Public Attributes inherited from GraphEditorBase
NavGraph target
 NavGraph this editor is exposing.
 

Static Public Attributes

static Material navmeshMaterial
 Material to use for navmeshes in the editor.
 
static bool tagMaskFoldout = false
 

Additional Inherited Members

- Static Public Member Functions inherited from GraphEditor
static void DrawWireCube (Vector3 center, Vector3 size)
 Draws a wire cube using handles.
 

Member Enumeration Documentation

enum UseTiles
Enumerator:
UseTiles 
DontUseTiles 

Member Function Documentation

void ExportToFile ( RecastGraph  target)

Exports the INavmesh graph to a .obj file.

override void OnDestroy ( )
virtual

Reimplemented from GraphEditor.

override void OnDisable ( )
virtual

Reimplemented from GraphEditor.

override void OnDrawGizmos ( )
virtual

Override to implement scene Gizmos drawing for the graph editor.

Reimplemented from GraphEditor.

override void OnEnable ( )
virtual

Reimplemented from GraphEditor.

override void OnInspectorGUI ( NavGraph  target)
virtual

Override to implement graph inspectors.

Reimplemented from GraphEditor.

override void OnSceneGUI ( NavGraph  target)
virtual

Override to implement scene GUI drawing for the graph.

Reimplemented from GraphEditor.

void UpdateDebugMesh ( AstarPath  astar)

Member Data Documentation

Material navmeshMaterial
static

Material to use for navmeshes in the editor.

Mesh navmeshRender
Renderer navmeshRenderer
bool tagMaskFoldout = false
static

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