Length

The magnitude operator (‖x‖) calculates the length of a vec2, which is the distance from the base to the tip of the arrow represented by the vector.

Interface

Inputs

ParameterDetailsPossible Types
Vector

Primary Input

vec2

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64