浏览代码

Merge pull request #98458 from KoBeWi/don't_repeat_the_same_mistakes

Clarify tiling of AtlasTexture
Thaddeus Crews 1 年之前
父节点
当前提交
e2bd0a8298
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/AtlasTexture.xml

+ 1 - 1
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>