Returns a random point on a given Line.
name | type | arguments | description |
---|---|---|---|
line | Phaser.Geom.Line |
The Line to calculate the random Point on. |
|
out | object | Phaser.Geom.Point | <optional> |
An instance of a Point to be modified. |
A random Point on the Line.