Returns an array of evenly spaced points on the perimeter of a Triangle.
name | type | arguments | description |
---|---|---|---|
triangle | Phaser.Geom.Triangle |
The Triangle to get the points from. |
|
quantity | number |
The number of evenly spaced points to return. Set to 0 to return an arbitrary number of points based on the |
|
stepRate | number |
If |
|
out | array | Array.<Phaser.Geom.Point> | <optional> |
An array to which the points should be appended. |
The modified out
array, or a new array if none was provided.