Linear Gradient

2D Generator  -  This generator creates a linear gradient (by default from black to white), from top to bottom

LinearGradientTextureGenerator LinearGradientTextureGenerator LinearGradientTextureGenerator LinearGradientTextureGenerator

It is possible to define its direction (start and end points), the colors used and their number in the gradient.

The colors in the gradient can be transparent.


Variables:

  • Gradient: Colorize with a color gradient
  • Segment: The position of the begin and end points of the linear gradient

Python

    Oil.createObject("LinearGradientTextureGenerator")