summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-10-24 13:22:46 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-10-24 13:22:46 -0500
commite2bd0a82982c35d933e3d71eb3d3c5c09e1dec4b (patch)
tree8a3de3438f1bc9f0c7f35b959e9587b8fcfca2a4
parent0953d488c760f1470eaccc31761f37ea237df61c (diff)
parent3ebac9006bb1aecf1e1036bbfae87fe2b16cfb52 (diff)
downloadredot-engine-e2bd0a82982c35d933e3d71eb3d3c5c09e1dec4b.tar.gz
Merge pull request #98458 from KoBeWi/don't_repeat_the_same_mistakes
Clarify tiling of AtlasTexture
-rw-r--r--doc/classes/AtlasTexture.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/AtlasTexture.xml b/doc/classes/AtlasTexture.xml
index 45877f4003..287f2cc19a 100644
--- a/doc/classes/AtlasTexture.xml
+++ b/doc/classes/AtlasTexture.xml
@@ -6,7 +6,7 @@
<description>
[Texture2D] resource that draws only part of its [member atlas] texture, as defined by the [member region]. An additional [member margin] can also be set, which is useful for small adjustments.
Multiple [AtlasTexture] resources can be cropped from the same [member atlas]. Packing many smaller textures into a singular large texture helps to optimize video memory costs and render calls.
- [b]Note:[/b] [AtlasTexture] cannot be used in an [AnimatedTexture], and may not tile properly in nodes such as [TextureRect], when inside other [AtlasTexture] resources.
+ [b]Note:[/b] [AtlasTexture] cannot be used in an [AnimatedTexture], and will not tile properly in nodes such as [TextureRect] or [Sprite2D]. To tile an [AtlasTexture], modify its [member region] instead.
</description>
<tutorials>
</tutorials>