Skip to main content

MaterialPropertyBlock.GetMatrix(string name)

Get a matrix from the property block.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
Matrix4x4matrix from the property block.

Usage

---@type MaterialPropertyBlock
local materialpropertyblock;

---@type string
local name;


local val0 = materialpropertyblock.GetMatrix(name)