PackedScene
Inherits: Resource < Reference < Object
Category: Core
Brief Description
Member Functions
bool | can_instance ( ) const |
SceneState | get_state ( ) |
Node | instance ( bool gen_edit_state=false ) const |
int | pack ( Node path ) |
Description
TODO: explain ownership, and that node does not need to own itself
Member Function Description
bool can_instance ( ) const
SceneState get_state ( )
Node instance ( bool gen_edit_state=false ) const
int pack ( Node path )
Pack will ignore any sub-nodes not owned by given node. See Node.set_owner.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_packedscene.html