GetFloat
7/14/25Less than 1 minute
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)