GetTexture

Material.GetTexture method

从指定槽获取纹理,可以是材质的属性名或shader的参数名

public TextureBase GetTexture(string slotName)
范围类型描述
slotNameString插槽名称。

返回值

质地。

也可以看看