Version: 2017.1

ShaderUtil.GetRangeLimits

Switch to Manual
public static float GetRangeLimits (Shader s, int propertyIdx, int defminmax);

Parameters

defminmax Which value to get: 0 = default, 1 = min, 2 = max.
s The shader to check against.
propertyIdx The property index to use.

Description

Get Limits for a range property at index propertyIdx of Shader s.