Skip to main content

Matrix4x4.Scale(Vector3 vector)

Creates a scaling matrix.

Parameters:

NameTypeDescription
vectorVector3Scale vector

Returns:

typeDescription
Matrix4x4scaling matrix

Usage

---@type Vector3
local vector;


local val0 = Matrix4x4:Scale(vector)

Extra Detail

Returned matrix is such that scales along coordinate axes by a vector v