PackedScene¶
Inherits: Resource < Reference < Object
Category: Core
Brief Description¶
Member Functions¶
bool | can_instance ( ) const |
SceneState | get_state ( ) |
Node | instance ( int edit_state=0 ) const |
int | pack ( Node path ) |
Member Variables¶
- Dictionary _bundled
Numeric Constants¶
- GEN_EDIT_STATE_DISABLED = 0
- GEN_EDIT_STATE_INSTANCE = 1
- GEN_EDIT_STATE_MAIN = 2
Description¶
TODO: explain ownership, and that node does not need to own itself
Member Function Description¶
- bool can_instance ( ) const
- SceneState get_state ( )
Pack will ignore any sub-nodes not owned by given node. See Node.set_owner.