From d3305a048ca48eac1bd4a367b9d04f1d70717370 Mon Sep 17 00:00:00 2001 From: Will Nations Date: Sun, 3 Dec 2017 21:21:59 -0600 Subject: [DOCS] SceneState method descriptions added. --- doc/classes/SceneState.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/classes/SceneState.xml b/doc/classes/SceneState.xml index 20ca43b71a..4fcaaa23dc 100644 --- a/doc/classes/SceneState.xml +++ b/doc/classes/SceneState.xml @@ -1,8 +1,10 @@ + 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. @@ -15,12 +17,14 @@ + Returns the list of bound parameters for the signal at [code]idx[/code]. + Returns the number of signal connections in the scene. @@ -29,6 +33,7 @@ + Returns the flags for the signal at [code]idx[/code]. See [Object]'s [code]CONNECT_*[/code] flags. @@ -37,6 +42,7 @@ + Returns the method connected to the signal at [code]idx[/code]. @@ -45,6 +51,7 @@ + Returns the name of the signal at [code]idx[/code]. @@ -53,6 +60,7 @@ + Returns the path to the node that owns the signal at [code]idx[/code], relative to the root node. @@ -61,12 +69,14 @@ + 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 nodes in the scene. @@ -75,6 +85,7 @@ + Returns the list of group names associated with the node at [code]idx[/code]. @@ -83,6 +94,7 @@ + Returns the scene for the node at [code]idx[/code] or [code]null[/code] if the node is not an instance. @@ -91,6 +103,7 @@ + Returns the path to the represented scene file if the node at [code]idx[/code] is an [InstancePlaceholder]. @@ -99,6 +112,7 @@ + Returns the name of the node at [code]idx[/code]. @@ -107,6 +121,7 @@ + Returns the path to the owner of the node at [code]idx[/code], relative to the root node. @@ -117,6 +132,7 @@ + Returns the path to the node at [code]idx[/code]. @@ -125,6 +141,7 @@ + Returns the number of exported or overridden properties for the node at [code]idx[/code]. @@ -135,6 +152,7 @@ + Returns the name of the property at [code]prop_idx[/code] for the node at [code]idx[/code]. @@ -145,6 +163,7 @@ + Returns the value of the property at [code]prop_idx[/code] for the node at [code]idx[/code]. @@ -153,6 +172,7 @@ + Returns the type of the node at [code]idx[/code]. @@ -161,15 +181,19 @@ + Returns [code]true[/code] if the node at [code]idx[/code] is an [InstancePlaceholder]. + If passed to [method PackedScene.instance], blocks edits to the scene state. + If passed to [method PackedScene.instance], provides inherited scene resources to the local scene. Requires tools compiled. + If passed to [method PackedScene.instance], provides local scene resources to the local scene. Only the main scene should receive the main edit state. Requires tools compiled. -- cgit v1.2.3