|
@@ -82,6 +82,7 @@
|
|
<member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" default="Rect2(0, 0, 0, 0)">
|
|
<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.
|
|
Species a sub-region of the texture to use.
|
|
This is equivalent to first wrapping the texture in an [AtlasTexture] with the same region.
|
|
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>
|
|
<member name="texture" type="Texture2D" setter="set_texture" getter="get_texture">
|
|
<member name="texture" type="Texture2D" setter="set_texture" getter="get_texture">
|
|
The texture to use when drawing this style box.
|
|
The texture to use when drawing this style box.
|