Sets this vector to have the given values
Nil values are treated as zero
Returns self for chaining
overload 1:
Vector2:set(vec)
Method Property | Fluent Description | Representation |
vec accepts | a Vector2 | |
Return Value | a Vector2 | |
overload 2:
Vector2:set(x, y)
Method Property | Fluent Description | Representation |
x accepts | a Number | |
y accepts | a Number | |
Return Value | a Vector2 | |