GradientTexture

Inherits: Texture < Resource < Reference < Object

Category: Core

Brief Description

Gradient filled texture.

Properties

Gradientgradient
intwidth

Description

Uses a Gradient to fill the texture data, the gradient will be filled from left to right using colors obtained from the gradient, this means that the texture does not necessarily represent an exact copy of the gradient, but instead an interpolation of samples obtained from the gradient at fixed steps (see width).

Property Descriptions

Setterset_gradient(value)
Getterget_gradient()

The Gradient that will be used to fill the texture.


Setterset_width(value)
Getterget_width()

The number of color samples that will be obtained from the Gradient.