Returns a uniformly distributed random point from anywhere within the given Ellipse.
name | type | arguments | description |
---|---|---|---|
ellipse | Phaser.Geom.Ellipse |
The Ellipse to get a random point from. |
|
out | object | Phaser.Geom.Point | <optional> |
A Point or point-like object to set the random |
A Point object with the random values set in the x
and y
properties.