Method | Description | |
---|---|---|
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 | |
return | double |
public static Clamp ( float val, float min, float max ) : float | ||
val | float | |
min | float | |
max | float | |
return | float |
public static Clamp ( int val, int min, int max ) : int | ||
val | int | |
min | int | |
max | int | |
return | int |
public static lClamp ( double val, double min ) : double | ||
val | double | |
min | double | |
return | double |
public static lClamp ( float val, float min ) : float | ||
val | float | |
min | float | |
return | float |
public static lClamp ( int val, int min ) : int | ||
val | int | |
min | int | |
return | int |
public static uClamp ( double val, double max ) : double | ||
val | double | |
max | double | |
return | double |
public static uClamp ( float val, float max ) : float | ||
val | float | |
max | float | |
return | float |
public static uClamp ( int val, int max ) : int | ||
val | int | |
max | int | |
return | int |