summaryrefslogtreecommitdiff
path: root/servers/extensions/physics_server_2d_extension.h
diff options
context:
space:
mode:
authorMansur Isaev <737dab2f169a@mail.ru>2022-09-23 10:06:29 +0400
committerMansur Isaev <737dab2f169a@mail.ru>2022-09-25 14:34:35 +0400
commitefd4dc20a3e88cfb90acc2bbb27f941872fbcc72 (patch)
treeb6d970d756b188e3fd98e6cae275d656bde5faed /servers/extensions/physics_server_2d_extension.h
parent15ac442247b2b45ae0e2900d18f26e5b82e6c011 (diff)
Add `area_get_collision_layer` and `area_get_collision_mask`
Diffstat (limited to 'servers/extensions/physics_server_2d_extension.h')
-rw-r--r--servers/extensions/physics_server_2d_extension.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/servers/extensions/physics_server_2d_extension.h b/servers/extensions/physics_server_2d_extension.h
index a6dbe35264..573b51ee12 100644
--- a/servers/extensions/physics_server_2d_extension.h
+++ b/servers/extensions/physics_server_2d_extension.h
@@ -268,8 +268,11 @@ public:
EXBIND2RC(Variant, area_get_param, RID, AreaParameter)
EXBIND1RC(Transform2D, area_get_transform, RID)
- EXBIND2(area_set_collision_mask, RID, uint32_t)
EXBIND2(area_set_collision_layer, RID, uint32_t)
+ EXBIND1RC(uint32_t, area_get_collision_layer, RID)
+
+ EXBIND2(area_set_collision_mask, RID, uint32_t)
+ EXBIND1RC(uint32_t, area_get_collision_mask, RID)
EXBIND2(area_set_monitorable, RID, bool)
EXBIND2(area_set_pickable, RID, bool)