From 87f22083af8306c18cd188b97f703f9ac06d7951 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 13 Jun 2022 14:06:34 +0200 Subject: [PATCH] Improve CurveTexture documentation --- doc/classes/CurveTexture.xml | 4 ++-- doc/classes/GradientTexture.xml | 2 +- doc/classes/GradientTexture2D.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/classes/CurveTexture.xml b/doc/classes/CurveTexture.xml index 4fb99c7a5ae..13576065245 100644 --- a/doc/classes/CurveTexture.xml +++ b/doc/classes/CurveTexture.xml @@ -12,10 +12,10 @@ - The [code]curve[/code] rendered onto the texture. + The [Curve] that is rendered onto the texture. - The width of the texture. + The width of the texture (in pixels). Higher values make it possible to represent high-frequency data better (such as sudden direction changes), at the cost of increased generation time and memory usage. diff --git a/doc/classes/GradientTexture.xml b/doc/classes/GradientTexture.xml index 965721ff94d..1b4e01c99a6 100644 --- a/doc/classes/GradientTexture.xml +++ b/doc/classes/GradientTexture.xml @@ -4,7 +4,7 @@ Gradient-filled texture. - GradientTexture 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 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 [member width]). + GradientTexture 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 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 [member width]). See also [GradientTexture2D] and [CurveTexture]. diff --git a/doc/classes/GradientTexture2D.xml b/doc/classes/GradientTexture2D.xml index d55df6cfd48..429ef74717f 100644 --- a/doc/classes/GradientTexture2D.xml +++ b/doc/classes/GradientTexture2D.xml @@ -4,7 +4,7 @@ Gradient-filled 2D texture. - The texture uses a [Gradient] to fill the texture data in 2D space. The gradient is filled according to the specified [member fill] and [member repeat] types using colors obtained from the gradient. 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 [member width] and [member height]). + The texture uses a [Gradient] to fill the texture data in 2D space. The gradient is filled according to the specified [member fill] and [member repeat] types using colors obtained from the gradient. 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 [member width] and [member height]). See also [GradientTexture] and [CurveTexture].