From 5589529cf3f773feeace0aaa87f169ed6ac9d84c Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 24 Jul 2020 20:28:48 +0200 Subject: [PATCH] Document ViewportTexture flipping in TextureRect --- doc/classes/TextureRect.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/TextureRect.xml b/doc/classes/TextureRect.xml index aa911fc4536..b9620ccd365 100644 --- a/doc/classes/TextureRect.xml +++ b/doc/classes/TextureRect.xml @@ -5,6 +5,7 @@ Used to draw icons and sprites in a user interface. The texture's placement can be controlled with the [member stretch_mode] property. It can scale, tile, or stay centered inside its bounding rectangle. + [b]Note:[/b] You should enable [member flip_v] when using a TextureRect to display a [ViewportTexture]. Alternatively, you can enable [member Viewport.render_target_v_flip] on the Viewport. Otherwise, the image will appear upside down.