summaryrefslogtreecommitdiff
path: root/scene/3d/ray_cast.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/ray_cast.h')
-rw-r--r--scene/3d/ray_cast.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/scene/3d/ray_cast.h b/scene/3d/ray_cast.h
index 7ab7b57db3..63a53d724f 100644
--- a/scene/3d/ray_cast.h
+++ b/scene/3d/ray_cast.h
@@ -50,6 +50,13 @@ class RayCast : public Spatial {
uint32_t layer_mask;
uint32_t type_mask;
+ Node *debug_shape;
+ Ref<Material> debug_material;
+
+ void _create_debug_shape();
+ void _update_debug_shape();
+ void _clear_debug_shape();
+
protected:
void _notification(int p_what);
void _update_raycast_state();