Function LayerGridGraph.Linecast

Linecast (GridNodeBase fromNode, GridNodeBase toNode, System.Func<GraphNode, bool> filter=null)

Returns if there is an obstacle between the two nodes on the graph.

Public
Linecast (GridNodeBase fromNode, Vector2 normalizedFromPoint, GridNodeBase toNode, Vector2 normalizedToPoint, outGridHitInfo hit, List<GraphNode> trace=null, System.Func<GraphNode, bool> filter=null, bool continuePastEnd=…)

Returns if there is an obstacle between the two nodes on the graph.

Public
Linecast (GridNodeBase fromNode, int2 fixedNormalizedFromPoint, GridNodeBase toNode, int2 fixedNormalizedToPoint, outGridHitInfo hit, List<GraphNode> trace=null, System.Func<GraphNode, bool> filter=null, bool continuePastEnd=…)

Returns if there is an obstacle between the two nodes on the graph.

Public
Linecast (Vector3 from, Vector3 to)

Returns if there is an obstacle between from and to on the graph.

Public
Linecast (Vector3 from, Vector3 to, outGraphHitInfo hit, List<GraphNode> trace=null, System.Func<GraphNode, bool> filter=null)

Returns if there is an obstacle between from and to on the graph.

Public
Linecast (Vector3 from, Vector3 to, outGridHitInfo hit, List<GraphNode> trace=null, System.Func<GraphNode, bool> filter=null)

Returns if there is an obstacle between from and to on the graph.

Public
Linecast (Vector3 from, Vector3 to, GraphNode hint)

Returns if there is an obstacle between from and to on the graph.

Public
Linecast (Vector3 from, Vector3 to, GraphNode hint, outGraphHitInfo hit)

Returns if there is an obstacle between from and to on the graph.

Public
Linecast (Vector3 from, Vector3 to, GraphNode hint, outGraphHitInfo hit, List<GraphNode> trace, System.Func<GraphNode, bool> filter=null)

Returns if there is an obstacle between from and to on the graph.

Public