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