GetFloatArray
7/14/25Less than 1 minute
MaterialPropertyBlock.GetFloatArray(string name)
Get a float array from the property block.
Parameters:
| Name | Type | Description |
|---|---|---|
| name | string | The name of the property. |
Returns:
| type | Description |
|---|---|
| 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.

