From fab38f7cf11e15e23b32b1c8f5c37573357a4789 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 2 Nov 2020 18:29:27 +0100 Subject: [PATCH] Document AtlasTexture not supporting repetition See #5660. --- doc/classes/AtlasTexture.xml | 1 + doc/classes/Texture.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/classes/AtlasTexture.xml b/doc/classes/AtlasTexture.xml index d4e380ca829..e6bdb50a82e 100644 --- a/doc/classes/AtlasTexture.xml +++ b/doc/classes/AtlasTexture.xml @@ -5,6 +5,7 @@ [Texture] resource aimed at managing big textures files that pack multiple smaller textures. Consists of a [Texture], a margin that defines the border width, and a region that defines the actual area of the AtlasTexture. + [b]Note:[/b] AtlasTextures don't support repetition. The [constant Texture.FLAG_REPEAT] and [constant Texture.FLAG_MIRRORED_REPEAT] flags are ignored when using an AtlasTexture. diff --git a/doc/classes/Texture.xml b/doc/classes/Texture.xml index 3ab5367fcd1..3781feb1cf2 100644 --- a/doc/classes/Texture.xml +++ b/doc/classes/Texture.xml @@ -118,6 +118,7 @@ Repeats the texture (instead of clamp to edge). + [b]Note:[/b] Ignored when using an [AtlasTexture] as these don't support repetition. Uses a magnifying filter, to enable smooth zooming in of the texture. @@ -131,6 +132,7 @@ Repeats the texture with alternate sections mirrored. + [b]Note:[/b] Ignored when using an [AtlasTexture] as these don't support repetition. Texture is a video surface.