Set the x
and y
components of the this Vector to the given x
and y
values.
name | type | arguments | Default | description |
---|---|---|---|---|
x | number |
The x value to set for this Vector. |
||
y | number | <optional> | x |
The y value to set for this Vector. |
This Vector2.