summaryrefslogtreecommitdiff
path: root/scene/resources/rectangle_shape_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/rectangle_shape_2d.h')
-rw-r--r--scene/resources/rectangle_shape_2d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/rectangle_shape_2d.h b/scene/resources/rectangle_shape_2d.h
index 8d747c86af..f1e8be4c5b 100644
--- a/scene/resources/rectangle_shape_2d.h
+++ b/scene/resources/rectangle_shape_2d.h
@@ -41,6 +41,10 @@ class RectangleShape2D : public Shape2D {
protected:
static void _bind_methods();
+#ifndef DISABLE_DEPRECATED
+ bool _set(const StringName &p_name, const Variant &p_value);
+ bool _get(const StringName &p_name, Variant &r_property) const;
+#endif // DISABLE_DEPRECATED
public:
void set_size(const Vector2 &p_size);