summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2019-02-05 05:12:44 +0100
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2019-04-03 13:05:29 +0200
commit8b84638322f75e96f7220a1040652ff41fa9d06c (patch)
tree2e1b19ad2c98ca0209cce5bca417da4c23324079 /doc/classes
parent869887641f3d31f19837a34da116039a26618cb0 (diff)
Add ability to flip TextureRect horizontally or vertically
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/TextureRect.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/TextureRect.xml b/doc/classes/TextureRect.xml
index 78065afcc9..436e7989b9 100644
--- a/doc/classes/TextureRect.xml
+++ b/doc/classes/TextureRect.xml
@@ -22,6 +22,12 @@
<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
The node's [Texture] resource.
</member>
+ <member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h">
+ If [code]true[/code], texture is flipped horizontally. Default value: [code]false[/code].
+ </member>
+ <member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v">
+ If [code]true[/code], texture is flipped vertically. Default value: [code]false[/code].
+ </member>
</members>
<constants>
<constant name="STRETCH_SCALE_ON_EXPAND" value="0" enum="StretchMode">