Material.SetVector(string name, Vector4 value)
Sets a named vector value.
Parameters:
Name | Type | Description |
---|---|---|
name | string | Property name, e.g. "_WaveAndDistance". |
value | Vector4 | Vector value to set. |
Usage
---@type Material
local material;
---@type string
local name;
---@type Vector4
local value;
material.SetVector(name, value)