Clamp
MathUtils.Clamp method
Spänn värdet till intervallet [min, max]
public static double Clamp(double val, double min, double max)
| Parameter | Typ | Beskrivning |
|---|---|---|
| val | Double | Värde att klämma fast. |
| min | Double | Minsta värde. |
| max | Double | Maximalt värde. |
Returvärde
Värdet mellan [min, max]
Se även
- class MathUtils
- namnutrymme Aspose.ThreeD.Utilities
- hopsättning Aspose.3D