Takes a Point-like object, such as a Vector2, Geom.Point or object with public x and y properties, and transforms it into the space of this Container, then returns it in the output object.
name | type | arguments | description |
---|---|---|---|
source | Phaser.Types.Math.Vector2Like |
The Source Point to be transformed. |
|
output | Phaser.Types.Math.Vector2Like | <optional> |
A destination object to store the transformed point in. If none given a Vector2 will be created and returned. |
The transformed point.