Merge pull request #113808 from kleonc/texture_rect_tiling_atlas_texture

Support tiling `AtlasTexture` in `TextureRect`
This commit is contained in:
Thaddeus Crews 2026-02-19 20:29:15 -06:00
commit 25045e365f
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
3 changed files with 42 additions and 3 deletions

View file

@ -51,6 +51,7 @@
</constant>
<constant name="STRETCH_TILE" value="1" enum="StretchMode">
Tile inside the node's bounding rectangle.
[b]Note:[/b] [constant STRETCH_TILE] mode is not supported for [member texture] set to an [AtlasTexture] with non-zero [member AtlasTexture.margin].
</constant>
<constant name="STRETCH_KEEP" value="2" enum="StretchMode">
The texture keeps its original size and stays in the bounding rectangle's top-left corner.