Skip to main content

Vector4.Set(number newX, number newY, number newZ, number newW)

Set x, y, z and w components of an existing Vector4.

Parameters:

NameTypeDescription
newXnumbernewX
newYnumbernewY
newZnumbernewZ
newWnumbernewW

Usage

---@type Vector4
local vector4;

---@type number
local newX;

---@type number
local newY;

---@type number
local newZ;

---@type number
local newW;


vector4.Set(newX, newY, newZ, newW)