Skip to main content

vGradientSort

Sort the gradient by color

Core / GradientGradient
vGradientSort node

Parameters​

ParameterTypeDefaultDescription
GradientGradient—Gradient whose colour stops are reordered by Sort Mode, keeping their original positions/values.
Sort ModeDropdown0.0Colour property to sort by: Hue & Saturation, Hue, Saturation, Value, or Brightness.
ThresholdFloat0.1Minimum hue difference before two stops are treated as distinct when Sort Mode is Hue & Saturation — stops closer than this are compared by saturation instead. Hue & Saturation mode only.
Show DumpInteger0.0Prints the sorted gradient to the console each frame.