diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-05-29 17:17:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 17:17:16 +0200 |
commit | c5e989209cdecd373b03c5addef1e408b873cd94 (patch) | |
tree | 54675144bb143311372c8c1811ca63dac21ed660 /doc | |
parent | b986d30ec0a7e4453e847e1acefa165af889a340 (diff) | |
parent | 0a4a1bc4b82581b64735ca76544f71e87a6bf435 (diff) | |
download | redot-engine-c5e989209cdecd373b03c5addef1e408b873cd94.tar.gz |
Merge pull request #76151 from MewPurPur/square-gradient2d
Add a square fill mode to GradientTexture2D
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/GradientTexture2D.xml | 3 |
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> |