| 
| static GridPivot  | PivotPointSelector (GridPivot pivot) | 
|   | 
| static Vector3  | RoundVector3 (Vector3 v) | 
|   | Rounds a vector's components to multiples of 0.5 (i.e 0.5, 1.0, 1.5, etc.) if very close to them.  
  | 
|   | 
| static bool  | FixLabel (string label, string buttonLabel="Fix", int buttonWidth=40) | 
|   | Draws a small help box with a 'Fix' button to the right.  
  | 
|   | 
| 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.  
  | 
|   | 
| static bool  | ToggleGroup (GUIContent label, bool value) | 
|   | Draws a toggle with a bold label to the right.  
  | 
|   | 
 | 
| static readonly string[]  | ChannelUseNames = { "None", "Penalty", "Height", "Walkability and Penalty" } | 
|   | 
 | 
| static GUIStyle  | gridPivotSelectBackground | 
|   | Cached gui style.  
  | 
|   | 
| static GUIStyle  | gridPivotSelectButton | 
|   | Cached gui style.  
  | 
|   | 
| static readonly Vector3[]  | handlePoints = new [] { new Vector3(0.0f, 0, 0.5f), new Vector3(1.0f, 0, 0.5f), new Vector3(0.5f, 0, 0.0f), new Vector3(0.5f, 0, 1.0f) } | 
|   | 
| static GUIStyle  | lockStyle | 
|   | Cached gui style.  
  | 
|   | 
| static readonly float  | standardDimetric = Mathf.Acos(1/2f)*Mathf.Rad2Deg | 
|   | 
| static readonly float  | standardIsometric = 90-Mathf.Atan(1/Mathf.Sqrt(2))*Mathf.Rad2Deg | 
|   | 
- Enumerator: 
 
| Center  | 
 | 
| TopLeft  | 
 | 
| TopRight  | 
 | 
| BottomLeft  | 
 | 
| BottomRight  | 
 | 
 
 
 
  
  
      
        
          | virtual void DrawCutCorners  | 
          ( | 
          GridGraph  | 
          graph | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | virtual void DrawMiddleSection  | 
          ( | 
          GridGraph  | 
          graph | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | virtual void DrawNeighbours  | 
          ( | 
          GridGraph  | 
          graph | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | void DrawPenaltyModifications  | 
          ( | 
          GridGraph  | 
          graph | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
Draws settings for using a texture as source for a grid. 
 - 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 
 
Reimplemented in LayerGridGraphEditor.
 
 
  
  
      
        
          | void DrawWidthDepthFields  | 
          ( | 
          GridGraph  | 
          graph,  | 
         
        
           | 
           | 
          out int  | 
          newWidth,  | 
         
        
           | 
           | 
          out int  | 
          newDepth  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | override void OnInspectorGUI  | 
          ( | 
          NavGraph  | 
          target | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | override void OnSceneGUI  | 
          ( | 
          NavGraph  | 
          target | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Override to implement scene GUI drawing for the graph. 
Reimplemented from GraphEditor.
 
 
  
  
      
        
          | static Vector3 RoundVector3  | 
          ( | 
          Vector3  | 
          v | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Rounds a vector's components to multiples of 0.5 (i.e 0.5, 1.0, 1.5, etc.) if very close to them. 
 
 
  
  
      
        
          | static void SaveReferenceTexture  | 
          ( | 
          GridGraph  | 
          graph | ) | 
           | 
         
       
   | 
  
staticprivate   | 
  
 
 
  
  
      
        
          | readonly string [] ChannelUseNames = { "None", "Penalty", "Height", "Walkability and Penalty" } | 
         
       
   | 
  
staticprotected   | 
  
 
 
  
  
      
        
          | GUIStyle gridPivotSelectBackground | 
         
       
   | 
  
staticprivate   | 
  
 
 
  
  
      
        
          | GUIStyle gridPivotSelectButton | 
         
       
   | 
  
staticprivate   | 
  
 
 
  
  
      
        
          | readonly Vector3 [] handlePoints = new [] { new Vector3(0.0f, 0, 0.5f), new Vector3(1.0f, 0, 0.5f), new Vector3(0.5f, 0, 0.0f), new Vector3(0.5f, 0, 1.0f) } | 
         
       
   | 
  
staticprivate   | 
  
 
 
  
  
      
        
          | readonly float standardDimetric = Mathf.Acos(1/2f)*Mathf.Rad2Deg | 
         
       
   | 
  
staticprivate   | 
  
 
 
  
  
      
        
          | readonly float standardIsometric = 90-Mathf.Atan(1/Mathf.Sqrt(2))*Mathf.Rad2Deg | 
         
       
   | 
  
staticprivate   | 
  
 
 
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Editor/GraphEditors/GridGeneratorEditor.cs