Api > MaterialPropertyBlock > GetMatrixArray()
MaterialPropertyBlock.GetMatrixArray(string name)⚓︎
Get a matrix array from the property block.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
name | string | The name of the property. |
Returns:⚓︎
type | Description |
---|---|
Matrix4x4[] | matrix array from the property block. |
Usage⚓︎
---@type MaterialPropertyBlock
local materialpropertyblock;
---@type string
local name;
local val0 = materialpropertyblock.GetMatrixArray(name)