Processors.Abs

Static Method in Processors

Declaration

public static float Abs(float input)

Description

Returns the absolute value of the input.

Parameters

inputThe input value to absolute.

Returns

floatThe absolute value of the input.

Overload

Declaration

public static double Abs(double input)

Description

Returns the absolute value of the input.

Parameters

inputThe input value to absolute.

Returns

doubleThe absolute value of the input.

Overload

Declaration

public static int Abs(int input)

Description

Returns the absolute value of the input.

Parameters

inputThe input value to absolute.

Returns

intThe absolute value of the input.

Overload

Declaration

public static Vector2 Abs(Vector2 input)

Description

Returns the absolute value of the input.

Parameters

inputThe input value to absolute.

Returns

Vector2The absolute value of the input.

Overload

Declaration

public static Vector2Int Abs(Vector2Int input)

Description

Returns the absolute value of the input.

Parameters

inputThe input value to absolute.

Returns

Vector2IntThe absolute value of the input.

Overload

Declaration

public static Vector3 Abs(Vector3 input)

Description

Returns the absolute value of the input.

Parameters

inputThe input value to absolute.

Returns

Vector3The absolute value of the input.

Overload

Declaration

public static Vector3Int Abs(Vector3Int input)

Description

Returns the absolute value of the input.

Parameters

inputThe input value to absolute.

Returns

Vector3IntThe absolute value of the input.

Overload

Declaration

public static Vector4 Abs(Vector4 input)

Description

Returns the absolute value of the input.

Parameters

inputThe input value to absolute.

Returns

Vector4The absolute value of the input.