diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-06-13 22:45:01 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2017-06-14 10:58:34 +0700 |
commit | 6c44fff5088d445d60ccd7109c8b5163a0764a7c (patch) | |
tree | 74652a91d1e7b2a79da232482f21128013843823 /scene/3d/ray_cast.h | |
parent | a8e845a474c01c4cde1416ed00e6ae456786c1fb (diff) | |
download | redot-engine-6c44fff5088d445d60ccd7109c8b5163a0764a7c.tar.gz |
Refactor layer_mask to collision_layer
Diffstat (limited to 'scene/3d/ray_cast.h')
-rw-r--r-- | scene/3d/ray_cast.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/3d/ray_cast.h b/scene/3d/ray_cast.h index 63a53d724f..e9b34c4f75 100644 --- a/scene/3d/ray_cast.h +++ b/scene/3d/ray_cast.h @@ -47,7 +47,7 @@ class RayCast : public Spatial { Set<RID> exclude; - uint32_t layer_mask; + uint32_t collision_layer; uint32_t type_mask; Node *debug_shape; @@ -69,8 +69,8 @@ public: void set_cast_to(const Vector3 &p_point); Vector3 get_cast_to() const; - void set_layer_mask(uint32_t p_mask); - uint32_t get_layer_mask() const; + void set_collision_layer(uint32_t p_layer); + uint32_t get_collision_layer() const; void set_type_mask(uint32_t p_mask); uint32_t get_type_mask() const; |