sm.pipeGraph.getContainerPath
Returns a table of shapes on the path between the requesting shape and target container shape.
Kind: Function
Environments: Game
Game
sm.pipeGraph.getContainerPath( requester, target, direction )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
requester |
Shape | The requesting shape. |
target |
Shape | The target container shape. |
direction (optional) |
integer | The direction to fetch in. Defaults to sm.pipeGraph.direction.any (Optional) |
Returns:
| Name | Type | Description |
|---|---|---|
shapes |
table | The shapes on the path between requesting shape to target. Requester not included in table. |