Sample Gradient

Gets the color at the specified position along the gradient, given a position from 0 (left) to 1 (right).

Interface

Inputs

ParameterDetailsPossible Types
-No Primary Input-
Gradient

Default: GradientStops { position: [0.0, 1.0], midpoint: [0.5, 0.5], color: [Color { red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0 }, Color { red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0 }] }

GradientStops
Position

Default: 0

f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Table<Color>