Material.GetFloat(string name)⚓︎
Get a named float value.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
name | string | The name of the property. |
Returns:⚓︎
type | Description |
---|---|
number | The named float value. |
Usage⚓︎
---@type Material
local material;
---@type string
local name;
local val0 = material.GetFloat(name)