Api > MaterialPropertyBlock > GetVectorArray()
MaterialPropertyBlock.GetVectorArray(string name)⚓︎
Get a vector array from the property block.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
name | string | The name of the property. |
Returns:⚓︎
type | Description |
---|---|
Vector4[] | vector array from the property block. |
Usage⚓︎
---@type MaterialPropertyBlock
local materialpropertyblock;
---@type string
local name;
local val0 = materialpropertyblock.GetVectorArray(name)