summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-25 21:44:31 +0200
committerGitHub <noreply@github.com>2022-08-25 21:44:31 +0200
commit060d0ce88204f9180beb3764048975e9dcf5c496 (patch)
tree4b8753eabdc0a5bf0b2c8124a1fdb2de3dcf0517 /doc/classes
parentce78d280b39e1e6d0cd700ff10a512acdfaf4282 (diff)
parentd567369c8fa9bf801977c7e728ece65fcb6cfa64 (diff)
Merge pull request #53299 from Calinou/viewport-tweak-configuration-warning
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/SubViewport.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/SubViewport.xml b/doc/classes/SubViewport.xml
index b62c294f2c..7020cae1de 100644
--- a/doc/classes/SubViewport.xml
+++ b/doc/classes/SubViewport.xml
@@ -25,7 +25,7 @@
The update mode when the sub-viewport is used as a render target.
</member>
<member name="size" type="Vector2i" setter="set_size" getter="get_size" default="Vector2i(512, 512)">
- The width and height of the sub-viewport.
+ The width and height of the sub-viewport. Must be set to a value greater than or equal to 2 pixels on both dimensions. Otherwise, nothing will be displayed.
</member>
<member name="size_2d_override" type="Vector2i" setter="set_size_2d_override" getter="get_size_2d_override" default="Vector2i(0, 0)">
The 2D size override of the sub-viewport. If either the width or height is [code]0[/code], the override is disabled.