Function GridGraph.Linecast

Linecast (GridNodeBase fromNode, GridNodeBase toNode)

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

Public
Linecast (GridNodeBase fromNode, GridNodeBase toNode, System.Func<GraphNode, bool> filter)
Public
Linecast (GridNodeBase fromNode, GridNodeBase toNode, refTraversalConstraint traversalConstraint)

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, bool continuePastEnd=…)

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, refTraversalConstraint traversalConstraint, List<GraphNode> trace=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, refTraversalConstraint traversalConstraint, List<GraphNode> trace=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, GraphNode hint, outGraphHitInfo hit, List<GraphNode> trace, System.Func<GraphNode, bool> filter)
Public
Linecast (Vector3 from, Vector3 to, outGraphHitInfo hit)

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

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

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

Public
Linecast (Vector3 from, Vector3 to, outGraphHitInfo hit, refTraversalConstraint traversalConstraint, List<GraphNode> trace=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, System.Func<GraphNode, bool> filter)
Public
Linecast (Vector3 from, Vector3 to, outGridHitInfo hit, refTraversalConstraint traversalConstraint, List<GraphNode> trace=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, refTraversalConstraint traversalConstraint, List<GraphNode> trace)

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

Public