summaryrefslogtreecommitdiff
path: root/scene/resources/box_shape_3d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-18 00:09:58 +0200
committerGitHub <noreply@github.com>2021-06-18 00:09:58 +0200
commit407229aeeb2302e96acc26b34b8656ace0b1a20c (patch)
tree86c256986db27ef62a473a8863758b3eed4b9aa0 /scene/resources/box_shape_3d.h
parentb02f42def7e28c44df195f532ad5ca264c70b3e0 (diff)
parent1a9e6cba2f4b2a7bf43e0b1b03ea27af66a45b1f (diff)
Merge pull request #49672 from aaronfranke/box-extents-compat
Add extents get/set override to BoxShape3D and RectangleShape2D for compatibility
Diffstat (limited to 'scene/resources/box_shape_3d.h')
-rw-r--r--scene/resources/box_shape_3d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/box_shape_3d.h b/scene/resources/box_shape_3d.h
index fce05d61ed..91978a0e6a 100644
--- a/scene/resources/box_shape_3d.h
+++ b/scene/resources/box_shape_3d.h
@@ -39,6 +39,10 @@ class BoxShape3D : public Shape3D {
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
virtual void _update_shape() override;