Processors.Floor
Static Method in Processors
Declaration
public static float Floor(float input)Description
Rounds the input down to the nearest whole number.
Parameters
| input | The input value to round. |
Returns
| float | The rounded input value. |
Overload
Declaration
public static double Floor(double input)Description
Rounds the input down to the nearest whole number.
Parameters
| input | The input value to round. |
Returns
| double | The rounded input value. |
Overload
Declaration
public static int Floor(int input)Description
Rounds the input down to the nearest whole number.
Parameters
| input | The input value to round. |
Returns
| int | The rounded input value. |
Overload
Declaration
public static Vector2 Floor(Vector2 input)Description
Rounds the input down to the nearest whole number.
Parameters
| input | The input value to round. |
Returns
| Vector2 | The rounded input value. |
Overload
Declaration
public static Vector2Int Floor(Vector2Int input)Description
Rounds the input down to the nearest whole number.
Parameters
| input | The input value to round. |
Returns
| Vector2Int | The rounded input value. |
Overload
Declaration
public static Vector3 Floor(Vector3 input)Description
Rounds the input down to the nearest whole number.
Parameters
| input | The input value to round. |
Returns
| Vector3 | The rounded input value. |
Overload
Declaration
public static Vector3Int Floor(Vector3Int input)Description
Rounds the input down to the nearest whole number.
Parameters
| input | The input value to round. |
Returns
| Vector3Int | The rounded input value. |
Overload
Declaration
public static Vector4 Floor(Vector4 input)Description
Rounds the input down to the nearest whole number.
Parameters
| input | The input value to round. |
Returns
| Vector4 | The rounded input value. |