Skip to main content

Material.GetVector(string name)

Get a named vector value.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
Vector4named vector value.

Usage

---@type Material
local material;

---@type string
local name;


local val0 = material.GetVector(name)