summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-26 23:52:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-26 23:52:19 +0100
commit3b086aa062068f4d866b2207bb5b5770e40aafac (patch)
tree7e4a3593b6b47e07772a5586af015e9ce5c8cd32 /doc
parentcf8fc5c9a472a519d0cabee349fca10b22df769c (diff)
parentb5fda06f203e8f713a9cbe0d50df78cf84bc4ada (diff)
Merge pull request #72086 from KoBeWi/set_rekt
Don't change region_rect when setting texture
Diffstat (limited to 'doc')
-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.