Click or drag to resize

MathfMax Method (Single, Single)

Returns the maximum of two values.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static float Max(
	float a,
	float b
)

Parameters

a
Type: SystemSingle
One of the values.
b
Type: SystemSingle
The other value.

Return Value

Type: Single
Whichever of the two values is higher.
See Also