Merge pull request #113808 from kleonc/texture_rect_tiling_atlas_texture
Support tiling `AtlasTexture` in `TextureRect`
This commit is contained in:
commit
25045e365f
3 changed files with 42 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue