Material.GetVector(string name)⚓︎
Get a named vector value.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
name | string | The name of the property. |
Returns:⚓︎
type | Description |
---|---|
Vector4 | named vector value. |
Usage⚓︎
---@type Material
local material;
---@type string
local name;
local val0 = material.GetVector(name)