Skip to content

Lib.image.generate.basic.LinearGradient

Thomas Mann edited this page Sep 5, 2025 · 4 revisions

LinearGradient

in Lib.image.generate.basic


Renders a linear color ramp defined by a gradient. This can be very useful in combination with [Steps].

Similar Ops: [NGon] [RoundedRect] [Rings] [RadialGradient] [LinearGradient] [Blob]


Input Parameters

Name (Relevancy & Type) Description
Image (Texture2D) -
Gradient (Gradient) -
Width (Single) -
SizeMode (Int32) -
PingPong (Boolean) -
Repeat (Boolean) -
Rotation (Single) -
Center (Vector2) -
Offset (Single) -
OffsetMode (Int32) Renders a linear color ramp defined by a gradient. This can be very useful in combination with [Steps].


Similar Ops: [NGon] [RoundedRect] [Rings] [RadialGradient] [LinearGradient] [Blob]
GainAndBias (Vector2) -
BlendMode (Int32) -
Resolution (Int2) -
GenerateMips (Boolean) -
TextureFormat (Format) -

Outputs

Name Type
TextureOutput T3.Core.DataTypes.Texture2D

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

Clone this wiki locally