summaryrefslogtreecommitdiff
path: root/doc/classes/Viewport.xml
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-07-05 22:56:25 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-07-05 22:57:03 -0300
commit8255b88d111dcde6e5eac3d6aabb03cf3df4a25c (patch)
treedf8c96c8c5b7ce7ba29c68aaa18b7f10a6846788 /doc/classes/Viewport.xml
parentd897131ac555de84afe9ca6845abf87c26957895 (diff)
Make 'size_override_stretch' a property in 'Viewport'
Diffstat (limited to 'doc/classes/Viewport.xml')
-rw-r--r--doc/classes/Viewport.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml
index a9ffd9f66d..772d20a92e 100644
--- a/doc/classes/Viewport.xml
+++ b/doc/classes/Viewport.xml
@@ -284,6 +284,9 @@
<member name="size" type="Vector2" setter="set_size" getter="get_size" default="Vector2( 0, 0 )">
The width and height of viewport.
</member>
+ <member name="size_override_stretch" type="bool" setter="set_size_override_stretch" getter="is_size_override_stretch_enabled" default="false">
+ If [code]true[/code], the size override affects stretch as well.
+ </member>
<member name="transparent_bg" type="bool" setter="set_transparent_background" getter="has_transparent_background" default="false">
If [code]true[/code], the viewport should render its background as transparent.
</member>