ShaderUtil.GetRangeLimits

Declaration

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.


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