diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-07-01 19:07:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 19:07:59 +0200 |
commit | 0a8dbe7f75f2999e0f73af83dda3510c965f2b94 (patch) | |
tree | 09cf59ea37189690404049b7ed36e93692a62211 /doc | |
parent | 6cf416dafc8b3e1019f765da1e596ba4d0e44425 (diff) | |
parent | 5f1d94bb7d3b0cea18f946c69d055b9aa85c60c4 (diff) |
Merge pull request #32516 from nekomatata/texture-button-flip
Added flip_h and flip_v properties in TextureButton
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/TextureButton.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/TextureButton.xml b/doc/classes/TextureButton.xml index 0e2872755e..a5172586fe 100644 --- a/doc/classes/TextureButton.xml +++ b/doc/classes/TextureButton.xml @@ -15,6 +15,12 @@ <member name="expand" type="bool" setter="set_expand" getter="get_expand" default="false"> If [code]true[/code], the texture stretches to the edges of the node's bounding rectangle using the [member stretch_mode]. If [code]false[/code], the texture will not scale with the node. </member> + <member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h" default="false"> + If [code]true[/code], texture is flipped horizontally. + </member> + <member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v" default="false"> + If [code]true[/code], texture is flipped vertically. + </member> <member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" enum="TextureButton.StretchMode" default="0"> Controls the texture's behavior when you resize the node's bounding rectangle, [b]only if[/b] [member expand] is [code]true[/code]. Set it to one of the [enum StretchMode] constants. See the constants to learn more. </member> |