文档

Unity Engine

Unity Engine

GetPropertyType(Shader, int)

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

Definition

警告
Deprecated. Use Shader.GetPropertyType instead.
public static ShaderUtil.ShaderPropertyType GetPropertyType(Shader s, int propertyIdx)

Parameters

The shader to check against.

propertyIdx

The property index to use.

Returns

Type

Description

ShaderPropertyType