Matrix4x4.Scale(Vector3 vector)
Creates a scaling matrix.
Parameters:
Name | Type | Description |
---|---|---|
vector | Vector3 | Scale vector |
Returns:
type | Description |
---|---|
Matrix4x4 | scaling 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