summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-01-26 00:44:29 +0100
committerkobewi <kobewi4e@gmail.com>2023-01-26 23:02:26 +0100
commitb5fda06f203e8f713a9cbe0d50df78cf84bc4ada (patch)
tree0f97504a4bf7df21e258b52241193dbc9b69d5e7 /doc/classes
parent63b5adf8a85f6f2f222d048bd4975490b6afd9a8 (diff)
Don't change region_rect when setting texture
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/StyleBoxTexture.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/StyleBoxTexture.xml b/doc/classes/StyleBoxTexture.xml
index 745187ed63..f2f6e59a9e 100644
--- a/doc/classes/StyleBoxTexture.xml
+++ b/doc/classes/StyleBoxTexture.xml
@@ -82,6 +82,7 @@
<member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" default="Rect2(0, 0, 0, 0)">
Species a sub-region of the texture to use.
This is equivalent to first wrapping the texture in an [AtlasTexture] with the same region.
+ If empty ([code]Rect2(0, 0, 0, 0)[/code]), the whole texture will be used.
</member>
<member name="texture" type="Texture2D" setter="set_texture" getter="get_texture">
The texture to use when drawing this style box.