Skip to main content

Material.SetVector(string name, Vector4 value)

Sets a named vector value.

Parameters:

NameTypeDescription
namestringProperty name, e.g. "_WaveAndDistance".
valueVector4Vector value to set.

Usage

---@type Material
local material;

---@type string
local name;

---@type Vector4
local value;


material.SetVector(name, value)