summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVolTer <mew.pur.pur@abv.bg>2023-04-17 02:56:25 +0200
committerVolTer <mew.pur.pur@abv.bg>2023-04-20 16:32:42 +0200
commit0a4a1bc4b82581b64735ca76544f71e87a6bf435 (patch)
tree71160bae3a637d7a4a9b22d799871416e19ccaee /doc
parent68b8156fe3075e0e45b070d26fce2a0baae6f293 (diff)
downloadredot-engine-0a4a1bc4b82581b64735ca76544f71e87a6bf435.tar.gz
Add a square fill mode to GradientTexture2D
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/GradientTexture2D.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/GradientTexture2D.xml b/doc/classes/GradientTexture2D.xml
index 2d425035ca..9522de3528 100644
--- a/doc/classes/GradientTexture2D.xml
+++ b/doc/classes/GradientTexture2D.xml
@@ -42,6 +42,9 @@
<constant name="FILL_RADIAL" value="1" enum="Fill">
The colors are linearly interpolated in a circular pattern.
</constant>
+ <constant name="FILL_SQUARE" value="2" enum="Fill">
+ The colors are linearly interpolated in a square pattern.
+ </constant>
<constant name="REPEAT_NONE" value="0" enum="Repeat">
The gradient fill is restricted to the range defined by [member fill_from] to [member fill_to] offsets.
</constant>