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

Pruning of recast navmesh regions. More...

Detailed Description

Pruning of recast navmesh regions.

A RelevantGraphSurface component placed in the scene specifies that the navmesh region it is inside should be included in the navmesh.

See Also
Pathfinding.RecastGraph.relevantGraphSurfaceMode

Public Member Functions

void OnDrawGizmos ()
 
void OnDrawGizmosSelected ()
 
void UpdatePosition ()
 

Static Public Member Functions

static void FindAllGraphSurfaces ()
 
static void UpdateAllPositions ()
 Updates the positions of all relevant graph surface components.
 

Public Attributes

float maxRange = 1
 

Properties

RelevantGraphSurface Next [get]
 
Vector3 Position [get]
 
RelevantGraphSurface Prev [get]
 
static RelevantGraphSurface Root [get]
 

Private Member Functions

void OnDisable ()
 
void OnEnable ()
 

Private Attributes

RelevantGraphSurface next
 
Vector3 position
 
RelevantGraphSurface prev
 

Static Private Attributes

static RelevantGraphSurface root
 

Member Function Documentation

static void FindAllGraphSurfaces ( )
static
void OnDisable ( )
private
void OnDrawGizmos ( )
void OnDrawGizmosSelected ( )
void OnEnable ( )
private
static void UpdateAllPositions ( )
static

Updates the positions of all relevant graph surface components.

Required to be able to use the position property reliably.

void UpdatePosition ( )

Member Data Documentation

float maxRange = 1
RelevantGraphSurface next
private
Vector3 position
private
RelevantGraphSurface prev
private
RelevantGraphSurface root
staticprivate

Property Documentation

Vector3 Position
get
RelevantGraphSurface Root
staticget

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