diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-01-23 12:01:42 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-01-23 12:01:42 -0300 |
commit | d59733bd676c9e3de4b39decd398fb743161f21e (patch) | |
tree | 73d46fb22811badb1d54e8b266516c8037d5f0ff /scene/resources/packed_scene.h | |
parent | 5a1593951bc331583e5867eea0449958509e20b9 (diff) | |
download | redot-engine-d59733bd676c9e3de4b39decd398fb743161f21e.tar.gz |
-Ability to retrieve state data from PackedScene, closes #3413
Diffstat (limited to 'scene/resources/packed_scene.h')
-rw-r--r-- | scene/resources/packed_scene.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scene/resources/packed_scene.h b/scene/resources/packed_scene.h index 00a812f16a..7fda4392d8 100644 --- a/scene/resources/packed_scene.h +++ b/scene/resources/packed_scene.h @@ -36,6 +36,8 @@ class SceneState : public Reference { OBJ_TYPE( SceneState, Reference ); + + Vector<StringName> names; Vector<Variant> variants; Vector<NodePath> node_paths; @@ -103,6 +105,13 @@ class SceneState : public Reference { _FORCE_INLINE_ Ref<SceneState> _get_base_scene_state() const; static bool disable_placeholders; + + DVector<String> _get_node_groups(int p_idx) const; + +protected: + + static void _bind_methods(); + public: enum { |