From a9e43ac73c5217af19673d1c959b3625c2f760dc Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Wed, 1 Apr 2020 00:47:58 -0300 Subject: Re-expose a simplified version of the stretch properties in SubViewport --- doc/classes/SubViewport.xml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/SubViewport.xml b/doc/classes/SubViewport.xml index 561e5d1a15..dc3d748496 100644 --- a/doc/classes/SubViewport.xml +++ b/doc/classes/SubViewport.xml @@ -7,45 +7,51 @@ - - - - - - - - - - - - - - + If [code]true[/code], the sub-viewport will be used in AR/VR process. + The clear mode when the sub-viewport is used as a render target. + The update mode when the sub-viewport is used as a render target. + + + The width and height of the sub-viewport. + + + The 2D size override of the sub-viewport. If either the width or height is [code]0[/code], the override is disabled. + + + If [code]true[/code], the 2D size override affects stretch as well. + Do not update the render target. + Update the render target once, then switch to [constant UPDATE_DISABLED]. + Update the render target only when it is visible. This is the default value. + Update the render target only when the its parent is visible. + Always update the render target. + Always clear the render target before drawing. + Never clear the render target. + Clear the render target next frame, then switch to [constant CLEAR_MODE_NEVER]. -- cgit v1.2.3