Dear CM Labs Support,
Good Day eveyone!
I would like to know the function of this statement found on the scriptings.
def clamp(value, minValue, maxValue):
clampedValue = max(min(value, maxValue), minValue)
That's all. Thank you!!!
Mark Jayvhie Belbar
Thank you very much!!!
That's just a simple clamping function which will clamp the provided "value" to the interval [minValue, maxValue] and return the result.