Lib.numbers.color.SampleGradient - tixl3d/tixl GitHub Wiki

SampleGradient

in Lib.numbers.color


Defines a gradient that can then be sampled into a color or used further by [GradientsToTexture] or other operators. Left clicking the Gradient in the graph- or in the parameters-window adds a color sample. Dragging a color sample to the lower border removes it.

The first output returns the sampled color. The second output the gradient structure.

Right click in the parameter window gradient to adjust interpolation mode or save presets.


Input Parameters

Name (Relevancy & Type) Description
SamplePos (SingleRelevant) Defines which color is given out
Gradient (Gradient) Defines the color gradient

Left-click adds a new color sample
Dragging the color sample down deletes it
Interpolation (Int32) Defines how the color is interpolated between the different samples on the gradient

Outputs

Name Type
Color System.Numerics.Vector4
OutGradient T3.Core.DataTypes.Gradient

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️