Vector4(number x, number y, number z, number w)
Creates a new vector with given x, y, z, w components.
Parameters:
Name | Type | Description |
---|---|---|
x | number | x |
y | number | y |
z | number | z |
w | number | w |
Usage
---@type number
local x;
---@type number
local y;
---@type number
local z;
---@type number
local w;
local vector4 = Vector4(x, y, z, w);