create
Default constructor for the Vector4 class. Returns a Vector4 object.
Vector4(mixed vectorOrX[, float y, float z, float w])
- vectorOrX:
float | table | vector4
– Vector4, table, or floats indicating vector's coordinates - y:
float
– If vectorOrX is a float, this is the Y coordinate - z:
float
– If vectorOrX is a float, this is the Z coordinate - w:
float
– If vectorOrX is a float, this is the W coordinate