Skip to main content

MaterialPropertyBlock.GetVector(string name)

Get a vector from the property block.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
Vector4vector from the property block.

Usage

---@type MaterialPropertyBlock
local materialpropertyblock;

---@type string
local name;


local val0 = materialpropertyblock.GetVector(name)