summaryrefslogtreecommitdiff
path: root/doc/classes/SubViewport.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/SubViewport.xml')
-rw-r--r--doc/classes/SubViewport.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/classes/SubViewport.xml b/doc/classes/SubViewport.xml
index 6014762e3d..4736401395 100644
--- a/doc/classes/SubViewport.xml
+++ b/doc/classes/SubViewport.xml
@@ -1,16 +1,26 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="SubViewport" inherits="Viewport" version="4.0">
<brief_description>
+ Creates a sub-view into the screen.
</brief_description>
<description>
</description>
<tutorials>
+ <link title="Viewport and canvas transforms">https://docs.godotengine.org/en/latest/tutorials/2d/2d_transforms.html</link>
+ <link title="Viewports tutorial index">https://docs.godotengine.org/en/latest/tutorials/viewports/index.html</link>
+ <link title="GUI in 3D Demo">https://godotengine.org/asset-library/asset/127</link>
+ <link title="3D in 2D Demo">https://godotengine.org/asset-library/asset/128</link>
+ <link title="2D in 3D Demo">https://godotengine.org/asset-library/asset/129</link>
+ <link title="Screen Capture Demo">https://godotengine.org/asset-library/asset/130</link>
+ <link title="Dynamic Split Screen Demo">https://godotengine.org/asset-library/asset/541</link>
+ <link title="3D Viewport Scaling Demo">https://godotengine.org/asset-library/asset/586</link>
</tutorials>
<methods>
</methods>
<members>
<member name="render_target_clear_mode" type="int" setter="set_clear_mode" getter="get_clear_mode" enum="SubViewport.ClearMode" default="0">
The clear mode when the sub-viewport is used as a render target.
+ [b]Note:[/b] This property is intended for 2D usage.
</member>
<member name="render_target_update_mode" type="int" setter="set_update_mode" getter="get_update_mode" enum="SubViewport.UpdateMode" default="2">
The update mode when the sub-viewport is used as a render target.