Skip to content

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)
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]
PingPong (Boolean)
Repeat (Boolean)
Rotate (Single)
Center (Vector2)
GainAndBias (Vector2)
BlendMode (Int32)
Resolution (Int2)
GenerateMips (Boolean)
TextureFormat (Format)

Outputs

Name Type
TextureOutput T3.Core.DataTypes.Texture2D