From 4bd34e120a151df70807586be74fb4b139922257 Mon Sep 17 00:00:00 2001 From: reduz Date: Fri, 18 Apr 2014 14:21:50 -0700 Subject: [PATCH] Updated tutorial_viewports (markdown) --- tutorial_viewports.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tutorial_viewports.md b/tutorial_viewports.md index 574d664..01d8d9b 100644 --- a/tutorial_viewports.md +++ b/tutorial_viewports.md @@ -4,7 +4,7 @@ Godot has a small but very useful feature called viewports. Viewports are, as they name implies, rectangles where the world is drawn. They have three main uses, but can flexibly adapted to a lot more. All this is done via the [Viewport](class_viewport) node. -image +

The main uses in question are: @@ -84,6 +84,10 @@ If the viewport is a child of a control, it will become active and display anyth The viewport will cover the area of it's parent control completely. + +

+ + ### Render Target To set as a render target, just toggle the "render target" property of the viewport to enabled. Note that whatever is inside will not be visible in the scene editor. To display the contents, the render target texture must be used. This can be requested via code using (for example):