From 7b5936163736589cb234e3900b6e57948b1784ba Mon Sep 17 00:00:00 2001 From: VolTer Date: Mon, 17 Apr 2023 15:06:24 +0200 Subject: Document why Gradient.reverse() doesn't reverse constant gradients (cherry picked from commit f21d13600e41817646789a2b45221d8f5c2b2564) --- doc/classes/Gradient.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Gradient.xml b/doc/classes/Gradient.xml index 33f0a7979a..969169d8f5 100644 --- a/doc/classes/Gradient.xml +++ b/doc/classes/Gradient.xml @@ -49,13 +49,14 @@ Reverses/mirrors the gradient. + [b]Note:[/b] This method mirrors all points around the middle of the gradient, which may produce unexpected results when [member interpolation_mode] is set to [constant GRADIENT_INTERPOLATE_CONSTANT]. - Returns the interpolated color specified by [code]offset[/code]. + Returns the interpolated color specified by [param offset]. -- cgit v1.2.3