Home
Manual
Reference
Scripting
Scripting Reference
ShaderUtil
.GetRangeLimits
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
ShaderUtil
All Members
Class Functions
GetPropertyCount
GetPropertyDescription
GetPropertyName
GetPropertyType
GetRangeLimits
GetTexDim
IsShaderPropertyHidden
static
function
GetRangeLimits (s :
Shader
, propertyIdx :
int
, defminmax :
int
) :
float
Parameters
Name
Description
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.