文档

Unity Engine

Unity Engine

GetPropertyName(Shader, int)

Get the name of the shader propery at index propertyIdx of Shader s.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
警告
Deprecated. Use Shader.GetPropertyName instead.
public static string GetPropertyName(Shader s, int propertyIdx)

Parameters

The shader to check against.

propertyIdx

The property index to use.

Returns

Type

Description

string