Material.SetMatrix(string name, Matrix4x4 value)
Sets a named matrix for the shader.
Parameters:
Name | Type | Description |
---|---|---|
name | string | Property name, e.g. "_CubemapRotation". |
value | Matrix4x4 | Matrix value to set. |
Usage
---@type Material
local material;
---@type string
local name;
---@type Matrix4x4
local value;
material.SetMatrix(name, value)