Quaternion.Set(number newX, number newY, number newZ, number newW)
Set x, y, z and w components of an existing Quaternion.
Parameters:
Name | Type | Description |
---|---|---|
newX | number | new X |
newY | number | new Y |
newZ | number | new Z |
newW | number | new W |
Usage
---@type Quaternion
local quaternion;
---@type number
local newX;
---@type number
local newY;
---@type number
local newZ;
---@type number
local newW;
quaternion.Set(newX, newY, newZ, newW)