setMagnitude(magnitude) → {Phaser.Point}
Alters the length of the Point without changing the direction.
Parameters
Name | Type | Description |
---|---|---|
magnitude | number | The desired magnitude of the resulting Point. |
Returns
This Point object.
- Source code: geom/Point.js (Line 345)
Please login to continue.