A script interface to a scene file's data. Maintains a list of resources, nodes, exported, and overridden properties, and built-in scripts associated with a scene. This class cannot be instantiated directly, it is retrieved for a given scene as the result of [method PackedScene.get_state]. Returns the list of bound parameters for the signal at [code]idx[/code]. Returns the number of signal connections in the scene. The [code]idx[/code] argument used to query connection metadata in other [code]get_connection_*[/code] methods in the interval [code][0, get_connection_count() - 1][/code]. Returns the connection flags for the signal at [code]idx[/code]. See [enum Object.ConnectFlags] constants. Returns the method connected to the signal at [code]idx[/code]. Returns the name of the signal at [code]idx[/code]. Returns the path to the node that owns the signal at [code]idx[/code], relative to the root node. Returns the path to the node that owns the method connected to the signal at [code]idx[/code], relative to the root node. Returns the number of unbound parameters for the signal at [code]idx[/code]. Returns the number of nodes in the scene. The [code]idx[/code] argument used to query node data in other [code]get_node_*[/code] methods in the interval [code][0, get_node_count() - 1][/code]. Returns the list of group names associated with the node at [code]idx[/code]. Returns the node's index, which is its position relative to its siblings. This is only relevant and saved in scenes for cases where new nodes are added to an instantiated or inherited scene among siblings from the base scene. Despite the name, this index is not related to the [code]idx[/code] argument used here and in other methods. Returns a [PackedScene] for the node at [code]idx[/code] (i.e. the whole branch starting at this node, with its child nodes and resources), or [code]null[/code] if the node is not an instance. Returns the path to the represented scene file if the node at [code]idx[/code] is an [InstancePlaceholder]. Returns the name of the node at [code]idx[/code]. Returns the path to the owner of the node at [code]idx[/code], relative to the root node. Returns the path to the node at [code]idx[/code]. If [code]for_parent[/code] is [code]true[/code], returns the path of the [code]idx[/code] node's parent instead. Returns the number of exported or overridden properties for the node at [code]idx[/code]. The [code]prop_idx[/code] argument used to query node property data in other [code]get_node_property_*[/code] methods in the interval [code][0, get_node_property_count() - 1][/code]. Returns the name of the property at [code]prop_idx[/code] for the node at [code]idx[/code]. Returns the value of the property at [code]prop_idx[/code] for the node at [code]idx[/code]. Returns the type of the node at [code]idx[/code]. Returns [code]true[/code] if the node at [code]idx[/code] is an [InstancePlaceholder]. If passed to [method PackedScene.instantiate], blocks edits to the scene state. If passed to [method PackedScene.instantiate], provides inherited scene resources to the local scene. [b]Note:[/b] Only available in editor builds. If passed to [method PackedScene.instantiate], provides local scene resources to the local scene. Only the main scene should receive the main edit state. [b]Note:[/b] Only available in editor builds. If passed to [method PackedScene.instantiate], it's similar to [constant GEN_EDIT_STATE_MAIN], but for the case where the scene is being instantiated to be the base of another one. [b]Note:[/b] Only available in editor builds.