Sync classref with current source

This commit is contained in:
Rémi Verschelde
2018-04-10 10:13:29 +02:00
parent e07b7b0494
commit 30493541db
48 changed files with 788 additions and 204 deletions

View File

@@ -56,7 +56,16 @@ Description
A simplified interface to a scene file. Provides access to operations and checks that can be performed on the scene resource itself.
TODO: explain ownership, and that node does not need to own itself
Can be used to save a node to a file. When saving, the node as well as all the node it owns get saved (see ``owner`` property on :ref:`Node<class_node>`). Note that the node doesn't need to own itself.
Example of saving a node:
::
var scene = PackedScene.new()
var result = scene.pack(child)
if result == OK:
ResourceSaver.save("res://path/name.scn", scene) // or user://...
Member Function Description
---------------------------