MaterialSetTextureOn this pageMaterial.SetTexture(string name, Texture value) Sets a named texture. Parameters: NameTypeDescriptionnamestringProperty name, e.g. "_MainTex".valueTextureTexture to set. Usage ---@type Materiallocal material;---@type stringlocal name;---@type Texturelocal value;material.SetTexture(name, value)