Vector4
Object that represents a four-dimensional vector.
Constructors
V4(number X, number Y, number Y, number W)
Properties
| x | X component of the vector |
| y | Y component of the vector |
| z | Z component of the vector |
| w | W component of the vector |
Static properties
| Vector4 zero | Shorthand for writing V4(0, 0, 0, 0) |
Examples
local vector = V4(2, 2, 3, 1);
local zero = Vector4.zero;