ShaderUtil.IsShaderPropertyHidden

Declaration

public static bool IsShaderPropertyHidden(Shader s, int propertyIdx);

Parameters

s The shader to check against.
propertyIdx The property index to use.

Description

Returns true if the shader propery at index propertyIdx is hidden with the [HideInInspector] attribute in the shader code.


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