From f6abffdb4a2f2d1f1468743b16eb0cfadbbc8b12 Mon Sep 17 00:00:00 2001 From: Mel Collins Date: Mon, 18 Jun 2018 16:33:22 +0200 Subject: [PATCH] Add longer description to ViewportTexture doc (cherry picked from commit cf63abac360e0e8d0eb8b2d95de49678d66602c2) --- doc/classes/ViewportTexture.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/classes/ViewportTexture.xml b/doc/classes/ViewportTexture.xml index e84e31ba2d4..3a0ccadcfe0 100644 --- a/doc/classes/ViewportTexture.xml +++ b/doc/classes/ViewportTexture.xml @@ -4,6 +4,8 @@ Texture which displays the content of a [Viewport]. + Displays the content of a [Viewport] node as a dynamic [Texture]. This can be used to mix controls, 2D, and 3D elements in the same scene. + To create a ViewportTexture in code, use the [method Viewport.get_texture] method on the target viewport.