Exponent

The exponent operation (^) calculates the result of raising a number to a power.

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

Interface

Inputs

ParameterDetailsPossible Types
Base

The base number that is raised to the power.

Primary Input

Vec2[]
Vec2
f32[]
f32
f64[]
f64
u32[]
u32
Power

The power to which the base number is raised.

Default: 2

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[]
Vec2
Vec2[]