Browse Source

Add a little to ViewportTexture docs

Mel Collins 7 years ago
parent
commit
b820056b38
1 changed files with 2 additions and 0 deletions
  1. 2 0
      doc/classes/ViewportTexture.xml

+ 2 - 0
doc/classes/ViewportTexture.xml

@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <?xml version="1.0" encoding="UTF-8" ?>
 <class name="ViewportTexture" inherits="Texture" category="Core" version="3.1">
 <class name="ViewportTexture" inherits="Texture" category="Core" version="3.1">
 	<brief_description>
 	<brief_description>
+		Texture which displays the content of a [Viewport].
 	</brief_description>
 	</brief_description>
 	<description>
 	<description>
 	</description>
 	</description>
@@ -12,6 +13,7 @@
 	</methods>
 	</methods>
 	<members>
 	<members>
 		<member name="viewport_path" type="NodePath" setter="set_viewport_path_in_scene" getter="get_viewport_path_in_scene">
 		<member name="viewport_path" type="NodePath" setter="set_viewport_path_in_scene" getter="get_viewport_path_in_scene">
+			The path to the [Viewport] node to display. This is relative to the scene root, not to the node which uses the texture.
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>