.clamp(low,high)
Description
Parameters
Usage On Numbers
num = 16
log num.clamp(1,10)
// 10
// clamp will make the number get between the two input values
log max(low,min(high,input))
// this is the equivalent but as min() max() osl functionsLast updated