summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJakub Grzesik <kubecz3k@gmail.com>2017-07-08 18:05:09 +0200
committerJakub Grzesik <kubecz3k@gmail.com>2017-07-11 10:22:44 +0200
commit90bcb345b4147a37d0774f94f1157b7b9562489b (patch)
treee0bf8554f956450a691ecc1d63a4334b963b79c6 /doc
parentf4c8c552f956094e1bb8787de79476f57dd6a7b6 (diff)
EditorPlugin ability to open and reload scns from filepath
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 6ff3e0fa29..7a81eddd92 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -13313,6 +13313,22 @@
<description>
</description>
</method>
+ <method name="open_scene_from_path">
+ <argument index="0" name="scene_filepath" type="String">
+ </argument>
+ </return>
+ <description>
+ Opens scene in editor. Do not use during plugin initialization. If you need, then use it together with [method Object.call_deferred].
+ </description>
+ </method>
+ <method name="reload_scene_from_path">
+ <argument index="0" name="scene_filepath" type="String">
+ </argument>
+ </return>
+ <description>
+ Reloads already loaded editor scene.
+ </description>
+ </method>
<method name="forward_canvas_gui_input" qualifiers="virtual">
<return type="bool">
</return>