Skip to main content

Vector4(number x, number y, number z, number w)

Creates a new vector with given x, y, z, w components.

Parameters:

NameTypeDescription
xnumberx
ynumbery
znumberz
wnumberw

Usage

---@type number
local x;

---@type number
local y;

---@type number
local z;

---@type number
local w;


local vector4 = Vector4(x, y, z, w);