clamp method
clamp
Clamp value to range [min, max]
Returns
The value between [min, max]
def clamp(self, val, min, max):
...
Parameter | Type | Description |
---|---|---|
val | float | Value to clamp. |
min | float | Minimum value. |
max | float | Maximum value. |
See Also
- module
aspose.threed.utilities
- class
MathUtils