Skip to main content

Material.GetTexture(string name)

Get a named texture.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
TextureThe named texture.

Usage

---@type Material
local material;

---@type string
local name;


local val0 = material.GetTexture(name)