Skip to content

lib.img.generate.LinearGradient

Thomas Mann edited this page Jan 17, 2024 · 4 revisions

LinearGradient

in lib.img.generate


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


Input Parameters

Name (Relevancy & Type) Description
Image (Texture2D) -
Gradient (Gradient) -
Center (Vector2) -
Rotation (Single) -
Size (Single) -
Offset (Single) -
PingPong (Boolean) -
Repeat (Boolean) -
Bias (Single) -
Resolution (Int2) -
SizeMode (Int32) -
OffsetMode (Int32) -
GenerateMips (Boolean) -
BlendMode (Int32) -

Outputs

Name Type
TextureOutput SharpDX.Direct3D11.Texture2D

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

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

Clone this wiki locally