Skip to content

Api > Material > GetFloatArray()


Material.GetFloatArray(string name)⚓︎

Get a named float array.

Parameters:⚓︎

Name Type Description
name string The name of the property.

Returns:⚓︎

type Description
number[] The named float array.

Usage⚓︎

---@type Material
local material;

---@type string
local name;


local val0 = material.GetFloatArray(name)