summaryrefslogtreecommitdiff
path: root/doc/classes/GradientTexture1D.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-01-29 00:28:10 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-01-29 00:28:10 +0100
commitb4f0d4c7db295158ddf35bad770a2c9d976013a6 (patch)
tree1015f6f88fcda7b32f81043faecf50e670887faa /doc/classes/GradientTexture1D.xml
parentffa566c770a859628900fe85f41aec065d116b9f (diff)
Decrease the default GradientTexture and CurveTexture size
This provides better usability when a GradientTexture or CurveTexture is added to a Control node. Visual appearance of most GradientTextures and CurveTextures will be unaffected.
Diffstat (limited to 'doc/classes/GradientTexture1D.xml')
-rw-r--r--doc/classes/GradientTexture1D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/GradientTexture1D.xml b/doc/classes/GradientTexture1D.xml
index 223439956c..4730410ea9 100644
--- a/doc/classes/GradientTexture1D.xml
+++ b/doc/classes/GradientTexture1D.xml
@@ -15,7 +15,7 @@
<member name="use_hdr" type="bool" setter="set_use_hdr" getter="is_using_hdr" default="false">
If [code]true[/code], the generated texture will support high dynamic range ([constant Image.FORMAT_RGBAF] format). This allows for glow effects to work if [member Environment.glow_enabled] is [code]true[/code]. If [code]false[/code], the generated texture will use low dynamic range; overbright colors will be clamped ([constant Image.FORMAT_RGBA8] format).
</member>
- <member name="width" type="int" setter="set_width" getter="get_width" default="2048">
+ <member name="width" type="int" setter="set_width" getter="get_width" default="256">
The number of color samples that will be obtained from the [Gradient].
</member>
</members>