Vector3 - Mtax-Development/GML-OOP GitHub Wiki
Constructs a Container for three-dimensional coordinates: x, y and z.
Destruction |
Elements |
Garbage Collection |
None |
Name |
Type |
Default |
Modifiable |
x |
{real} |
undefined |
Yes |
y |
{real} |
undefined |
Yes |
z |
{real} |
undefined |
Yes |
Name |
Arguments |
Argument note |
Three numbers |
||
One number for all values |
value {real} |
|
From array |
array {real[]} |
Array positions will be applied depending on its size:
1: array[0] will be set to x, y and z.
3+: array[0] will be set to x, array[1] will be set to y, array[2] will be set to z. |
Vector2 + value |
||
Empty |
||
Constructor copy |
other {Vector3} |