A* Pathfinding Project  3.7.2
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
IFunnelGraph Interface Reference

Graphs implementing this interface have support for the Funnel modifier. More...

Detailed Description

Graphs implementing this interface have support for the Funnel modifier.

Public Member Functions

void AddPortal (GraphNode n1, GraphNode n2, List< Vector3 > left, List< Vector3 > right)
 Add the portal between node n1 and n2 to the funnel corridor.
 
void BuildFunnelCorridor (List< GraphNode > path, int sIndex, int eIndex, List< Vector3 > left, List< Vector3 > right)
 

Member Function Documentation

void AddPortal ( GraphNode  n1,
GraphNode  n2,
List< Vector3 >  left,
List< Vector3 >  right 
)

Add the portal between node n1 and n2 to the funnel corridor.

The left and right edges does not necesarily need to be the left and right edges (right can be left), they will be swapped if that is detected. But that works only as long as the edges do not switch between left and right in the middle of the path.

void BuildFunnelCorridor ( List< GraphNode path,
int  sIndex,
int  eIndex,
List< Vector3 >  left,
List< Vector3 >  right 
)

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