Преглед на файлове

Add longer description to ViewportTexture doc

Mel Collins преди 7 години
родител
ревизия
cf63abac36
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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].
 		Texture which displays the content of a [Viewport].
 	</brief_description>
 	</brief_description>
 	<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>
 	</description>
 	<tutorials>
 	<tutorials>
 	</tutorials>
 	</tutorials>