diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-06 13:15:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-06 13:15:01 +0200 |
commit | 2db0613fb0d4586436cf17b3afa2cf5b64bc96b5 (patch) | |
tree | fde2b719e1d0cc84641bca32dce5049110ca7345 /doc/classes | |
parent | 0b747f5312504d51097382fd6e39fd9a743a6086 (diff) | |
parent | 8b84638322f75e96f7220a1040652ff41fa9d06c (diff) |
Merge pull request #25624 from nekomatata/texture-rect-flip
Add ability to flip TextureRect horizontally or vertically
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TextureRect.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/TextureRect.xml b/doc/classes/TextureRect.xml index 13fd762908..7f26fe18e5 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"> |