Divide

The division operation (÷) calculates the quotient of two scalar numbers or vec2s.

Produces 0 for any division by 0. With vec2 inputs, this applies separately to the X and Y components.

Interface

Inputs

ParameterDetailsPossible Types
Numerator

The left-hand side of the division operation.

Primary Input

Integer[]
Integer
Number[]
Number
Vec2[]
Vec2
Denominator

The right-hand side of the division operation.

Default: 1

Integer[]
Integer
Number[]
Number
Vec2[]
Vec2

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Number
Number[]
Integer
Integer[]
Vec2
Vec2[]