Processors.Ceil

Static Method in Processors

Declaration

public static float Ceil(float input)

Description

Rounds the input up to the nearest whole number.

Parameters

inputThe input value to round.

Returns

floatThe rounded input value.

Overload

Declaration

public static double Ceil(double input)

Description

Rounds the input up to the nearest whole number.

Parameters

inputThe input value to round.

Returns

doubleThe rounded input value.

Overload

Declaration

public static int Ceil(int input)

Description

Rounds the input up to the nearest whole number.

Parameters

inputThe input value to round.

Returns

intThe rounded input value.

Overload

Declaration

public static Vector2 Ceil(Vector2 input)

Description

Rounds the input up to the nearest whole number.

Parameters

inputThe input value to round.

Returns

Vector2The rounded input value.

Overload

Declaration

public static Vector2Int Ceil(Vector2Int input)

Description

Rounds the input up to the nearest whole number.

Parameters

inputThe input value to round.

Returns

Vector2IntThe rounded input value.

Overload

Declaration

public static Vector3 Ceil(Vector3 input)

Description

Rounds the input up to the nearest whole number.

Parameters

inputThe input value to round.

Returns

Vector3The rounded input value.

Overload

Declaration

public static Vector3Int Ceil(Vector3Int input)

Description

Rounds the input up to the nearest whole number.

Parameters

inputThe input value to round.

Returns

Vector3IntThe rounded input value.

Overload

Declaration

public static Vector4 Ceil(Vector4 input)

Description

Rounds the input up to the nearest whole number.

Parameters

inputThe input value to round.

Returns

Vector4The rounded input value.