File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1010 <tutorials >
1111 </tutorials >
1212 <methods >
13+ <method name =" get_base_scene_state" qualifiers =" const" >
14+ <return type =" SceneState" />
15+ <description >
16+ Returns the [SceneState] of the scene that this scene inherits from, or [code]null[/code] if it doesn't inherit from any scene.
17+ </description >
18+ </method >
1319 <method name =" get_connection_binds" qualifiers =" const" >
1420 <return type =" Array" />
1521 <param index =" 0" name =" idx" type =" int" />
155161 Returns the type of the node at [param idx].
156162 </description >
157163 </method >
164+ <method name =" get_path" qualifiers =" const" >
165+ <return type =" String" />
166+ <description >
167+ Returns the resource path to the represented [PackedScene].
168+ </description >
169+ </method >
158170 <method name =" is_node_instance_placeholder" qualifiers =" const" >
159171 <return type =" bool" />
160172 <param index =" 0" name =" idx" type =" int" />
Original file line number Diff line number Diff line change @@ -2092,6 +2092,8 @@ Vector<String> SceneState::_get_node_groups(int p_idx) const {
20922092void SceneState::_bind_methods () {
20932093 // unbuild API
20942094
2095+ ClassDB::bind_method (D_METHOD (" get_path" ), &SceneState::get_path);
2096+ ClassDB::bind_method (D_METHOD (" get_base_scene_state" ), &SceneState::get_base_scene_state);
20952097 ClassDB::bind_method (D_METHOD (" get_node_count" ), &SceneState::get_node_count);
20962098 ClassDB::bind_method (D_METHOD (" get_node_type" , " idx" ), &SceneState::get_node_type);
20972099 ClassDB::bind_method (D_METHOD (" get_node_name" , " idx" ), &SceneState::get_node_name);
You can’t perform that action at this time.
0 commit comments