Merge pull request #36301 from KoBeWi/daddy_node
Add reparent methods to Node
This commit is contained in:
commit
3579d7a9f7
9 changed files with 50 additions and 0 deletions
|
|
@ -317,6 +317,7 @@ public:
|
|||
bool has_node_and_resource(const NodePath &p_path) const;
|
||||
Node *get_node_and_resource(const NodePath &p_path, Ref<Resource> &r_res, Vector<StringName> &r_leftover_subpath, bool p_last_is_property = true) const;
|
||||
|
||||
virtual void reparent(Node *p_parent, bool p_keep_global_transform = true);
|
||||
Node *get_parent() const;
|
||||
Node *find_parent(const String &p_pattern) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue