语言English
  • C#

Shader.FindTextureStack

切换到手册

声明

public bool FindTextureStack(int propertyIndex, out string stackName, out int layerIndex);

参数

propertyIndex 属性的索引。
stackName 退出时,如果找到堆栈,则包含堆栈的名称。
layerIndex 退出时,包含纹理属性的堆栈层索引。

返回值

bool 如果为给定的纹理属性找到堆栈,则为真,否则为假。

描述

查找纹理所属纹理堆栈的名称。


Did you find this page useful? Please give it a rating: