Skip to main content

Material.GetFloat(string name)

Get a named float value.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
numberThe named float value.

Usage

---@type Material
local material;

---@type string
local name;


local val0 = material.GetFloat(name)