Метод | Описание | |
---|---|---|
Clamp ( double val, double min, double max ) : double | ||
Clamp ( float val, float min, float max ) : float | ||
Clamp ( int val, int min, int max ) : int | ||
lClamp ( double val, double min ) : double | ||
lClamp ( float val, float min ) : float | ||
lClamp ( int val, int min ) : int | ||
uClamp ( double val, double max ) : double | ||
uClamp ( float val, float max ) : float | ||
uClamp ( int val, int max ) : int |
public static Clamp ( double val, double min, double max ) : double | ||
val | double | |
min | double | |
max | double | |
Результат | double |
public static Clamp ( float val, float min, float max ) : float | ||
val | float | |
min | float | |
max | float | |
Результат | float |
public static Clamp ( int val, int min, int max ) : int | ||
val | int | |
min | int | |
max | int | |
Результат | int |
public static lClamp ( double val, double min ) : double | ||
val | double | |
min | double | |
Результат | double |
public static lClamp ( float val, float min ) : float | ||
val | float | |
min | float | |
Результат | float |
public static lClamp ( int val, int min ) : int | ||
val | int | |
min | int | |
Результат | int |
public static uClamp ( double val, double max ) : double | ||
val | double | |
max | double | |
Результат | double |
public static uClamp ( float val, float max ) : float | ||
val | float | |
max | float | |
Результат | float |
public static uClamp ( int val, int max ) : int | ||
val | int | |
max | int | |
Результат | int |