summaryrefslogtreecommitdiff
path: root/doc/classes/Viewport.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Viewport.xml')
-rw-r--r--doc/classes/Viewport.xml36
1 files changed, 19 insertions, 17 deletions
diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml
index 772d20a92e..117c4835eb 100644
--- a/doc/classes/Viewport.xml
+++ b/doc/classes/Viewport.xml
@@ -67,6 +67,14 @@
Returns information about the viewport from the rendering pipeline.
</description>
</method>
+ <method name="get_shadow_atlas_quadrant_subdiv" qualifiers="const">
+ <return type="int" enum="Viewport.ShadowAtlasQuadrantSubdiv">
+ </return>
+ <argument index="0" name="quadrant" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_size_override" qualifiers="const">
<return type="Vector2">
</return>
@@ -141,13 +149,6 @@
Returns [code]true[/code] if the size override is enabled. See [method set_size_override].
</description>
</method>
- <method name="is_size_override_stretch_enabled" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- Returns [code]true[/code] if the size stretch override is enabled. See [method set_size_override_stretch].
- </description>
- </method>
<method name="set_attach_to_screen_rect">
<return type="void">
</return>
@@ -162,26 +163,27 @@
<description>
</description>
</method>
- <method name="set_size_override">
+ <method name="set_shadow_atlas_quadrant_subdiv">
<return type="void">
</return>
- <argument index="0" name="enable" type="bool">
+ <argument index="0" name="quadrant" type="int">
</argument>
- <argument index="1" name="size" type="Vector2" default="Vector2( -1, -1 )">
- </argument>
- <argument index="2" name="margin" type="Vector2" default="Vector2( 0, 0 )">
+ <argument index="1" name="subdiv" type="int" enum="Viewport.ShadowAtlasQuadrantSubdiv">
</argument>
<description>
- Sets the size override of the viewport. If the [code]enable[/code] parameter is [code]true[/code] the override is used, otherwise it uses the default size. If the size parameter is [code](-1, -1)[/code], it won't update the size.
</description>
</method>
- <method name="set_size_override_stretch">
+ <method name="set_size_override">
<return type="void">
</return>
- <argument index="0" name="enabled" type="bool">
+ <argument index="0" name="enable" type="bool">
+ </argument>
+ <argument index="1" name="size" type="Vector2" default="Vector2( -1, -1 )">
+ </argument>
+ <argument index="2" name="margin" type="Vector2" default="Vector2( 0, 0 )">
</argument>
<description>
- If [code]true[/code], the size override affects stretch as well.
+ Sets the size override of the viewport. If the [code]enable[/code] parameter is [code]true[/code] the override is used, otherwise it uses the default size. If the size parameter is [code](-1, -1)[/code], it won't update the size.
</description>
</method>
<method name="unhandled_input">
@@ -293,7 +295,7 @@
<member name="usage" type="int" setter="set_usage" getter="get_usage" enum="Viewport.Usage" default="2">
The rendering mode of viewport.
</member>
- <member name="world" type="World" setter="set_world" getter="get_world" default="null">
+ <member name="world" type="World" setter="set_world" getter="get_world">
The custom [World] which can be used as 3D environment source.
</member>
<member name="world_2d" type="World2D" setter="set_world_2d" getter="get_world_2d">