Merge pull request #64388 from Rindbee/improve-ViewportTexture

Improve the UX of ViewportTexture in the editor
This commit is contained in:
Rémi Verschelde
2023-05-10 10:18:43 +02:00
4 changed files with 46 additions and 4 deletions

View File

@ -17,6 +17,7 @@
<members>
<member name="viewport_path" type="NodePath" setter="set_viewport_path_in_scene" getter="get_viewport_path_in_scene" default="NodePath(&quot;&quot;)">
The path to the [Viewport] node to display. This is relative to the scene root, not to the node which uses the texture.
[b]Note:[/b] In the editor, it is automatically updated when the target viewport's node path changes due to renaming or moving the viewport or its ancestors. At runtime, it may not be able to automatically update due to the inability to determine the scene root.
</member>
</members>
</class>