.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/PackedScene.xml. .. _class_PackedScene: PackedScene =========== **Inherits:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------+------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`_bundled` | ``{ "conn_count": 0, "conns": PackedInt32Array(), "editable_instances": [], "names": PackedStringArray(), "node_count": 0, "node_paths": [], "nodes": PackedInt32Array(), "variants": [], "version": 3 }`` | +-------------------------------------+------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`can_instantiate` **(** **)** |const| | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`SceneState` | :ref:`get_state` **(** **)** |const| | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Node` | :ref:`instantiate` **(** :ref:`GenEditState` edit_state=0 **)** |const| | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`pack` **(** :ref:`Node` path **)** | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_PackedScene_GenEditState: .. rst-class:: classref-enumeration enum **GenEditState**: .. _class_PackedScene_constant_GEN_EDIT_STATE_DISABLED: .. rst-class:: classref-enumeration-constant :ref:`GenEditState` **GEN_EDIT_STATE_DISABLED** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_PackedScene_constant_GEN_EDIT_STATE_INSTANCE: .. rst-class:: classref-enumeration-constant :ref:`GenEditState` **GEN_EDIT_STATE_INSTANCE** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_PackedScene_constant_GEN_EDIT_STATE_MAIN: .. rst-class:: classref-enumeration-constant :ref:`GenEditState` **GEN_EDIT_STATE_MAIN** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_PackedScene_constant_GEN_EDIT_STATE_MAIN_INHERITED: .. rst-class:: classref-enumeration-constant :ref:`GenEditState` **GEN_EDIT_STATE_MAIN_INHERITED** = ``3`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_PackedScene_property__bundled: .. rst-class:: classref-property :ref:`Dictionary` **_bundled** = ``{ "conn_count": 0, "conns": PackedInt32Array(), "editable_instances": [], "names": PackedStringArray(), "node_count": 0, "node_paths": [], "nodes": PackedInt32Array(), "variants": [], "version": 3 }`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_PackedScene_method_can_instantiate: .. rst-class:: classref-method :ref:`bool` **can_instantiate** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PackedScene_method_get_state: .. rst-class:: classref-method :ref:`SceneState` **get_state** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PackedScene_method_instantiate: .. rst-class:: classref-method :ref:`Node` **instantiate** **(** :ref:`GenEditState` edit_state=0 **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PackedScene_method_pack: .. rst-class:: classref-method :ref:`Error` **pack** **(** :ref:`Node` path **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`