Document ViewportTexture flipping in TextureRect

This commit is contained in:
Hugo Locurcio 2020-07-24 20:28:48 +02:00
parent 3de89f78e5
commit 5589529cf3
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -5,6 +5,7 @@
</brief_description> </brief_description>
<description> <description>
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. 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.
</description> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>