Max

The maximum function (max) picks the larger of two numbers.

With vec2 inputs, this applies separately to the X and Y components.

Interface

Inputs

ParameterDetailsPossible Types
Value

One of the two numbers, of which the greater is returned.

Primary Input

String[]
String
Vec2[]
Vec2
f32[]
f32
f64[]
f64
u32[]
u32
Other Value

The other of the two numbers, of which the greater is returned.

Default: 0

String[]
String
Vec2[]
Vec2
f32[]
f32
f64[]
f64
u32[]
u32

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]
f32
f32[]
u32
u32[]
String
String[]
Vec2
Vec2[]