Skip to main content

MaterialPropertyBlock.GetFloatArray(string name)

Get a float array from the property block.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
number[]float array from the property block.

Usage

---@type MaterialPropertyBlock
local materialpropertyblock;

---@type string
local name;


local val0 = materialpropertyblock.GetFloatArray(name)

Extra Detail

Returns nil if such property doesn't exist.