Gradient Positions

Sets the position of each of a gradient's stops, a factor from 0 to 1 along the gradient.

A list shorter than the stop count repeats its last value, a longer list is truncated, and an empty list sets each stop to its default evenly spaced position.

Interface

Inputs

ParameterDetailsPossible Types
Gradient

Primary Input

Gradient[]
Gradient
Positions

Default: F64Array([])

f64[]

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Gradient
Gradient[]