Material.SetFloat(string name, number value)
Sets a named float value.
Parameters:
Name | Type | Description |
---|---|---|
name | string | Property name, e.g. "_Glossiness". |
value | number | Float value to set. |
Usage
---@type Material
local material;
---@type string
local name;
---@type number
local value;
material.SetFloat(name, value)