summaryrefslogtreecommitdiff
path: root/scene/main/node.h
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2021-10-26 21:12:25 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2021-11-08 17:42:30 +0100
commit8d6f80d3677a31aee13e7f531b46ada0b6ef8bf3 (patch)
tree4c7b6c1ea393b0f30d5cad525adcd956384f69ea /scene/main/node.h
parent1806ec7c14a8f038c0ff33a88d19087225c8d7ab (diff)
Add property value pinning
Diffstat (limited to 'scene/main/node.h')
-rw-r--r--scene/main/node.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/scene/main/node.h b/scene/main/node.h
index c308ec4fac..2dd32a2e1d 100644
--- a/scene/main/node.h
+++ b/scene/main/node.h
@@ -363,6 +363,13 @@ public:
bool is_editable_instance(const Node *p_node) const;
Node *get_deepest_editable_node(Node *p_start_node) const;
+#ifdef TOOLS_ENABLED
+ void set_property_pinned(const String &p_property, bool p_pinned);
+ bool is_property_pinned(const StringName &p_property) const;
+ virtual StringName get_property_store_alias(const StringName &p_property) const;
+#endif
+ void get_storable_properties(Set<StringName> &r_storable_properties) const;
+
virtual String to_string() override;
/* NOTIFICATIONS */