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

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
  • Node instance ( int edit_state=0 ) const

Pack will ignore any sub-nodes not owned by given node. See Node.set_owner.