Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
GradientTexture2D¶
Inherits: Texture2D < Texture < Resource < RefCounted < Object
A 2D texture that creates a pattern with colors obtained from a Gradient.
Description¶
A 2D texture that obtains colors from a Gradient to fill the texture data. This texture is able to transform a color transition into different patterns such as a linear or a radial gradient. The gradient is sampled individually for each pixel so it does not necessarily represent an exact copy of the gradient(see width and height). See also GradientTexture1D, CurveTexture and CurveXYZTexture.
Properties¶
|
||
|
||
|
||
|
||
|
||
resource_local_to_scene |
|
|
|
||