Browse Source

Merge pull request #19626 from romlok/viewporttexturedoc

Add longer description to ViewportTexture doc
Max Hilbrunner 7 years ago
parent
commit
db913cb9b8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      doc/classes/ViewportTexture.xml

+ 2 - 0
doc/classes/ViewportTexture.xml

@@ -4,6 +4,8 @@
 		Texture which displays the content of a [Viewport].
 	</brief_description>
 	<description>
+		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.
 	</description>
 	<tutorials>
 	</tutorials>