diff options
Diffstat (limited to 'scene/3d/path_3d.h')
-rw-r--r-- | scene/3d/path_3d.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scene/3d/path_3d.h b/scene/3d/path_3d.h index e9ab557693..1d249a328b 100644 --- a/scene/3d/path_3d.h +++ b/scene/3d/path_3d.h @@ -41,14 +41,23 @@ class Path3D : public Node3D { void _curve_changed(); + RID debug_instance; + Ref<ArrayMesh> debug_mesh; + +private: + void _update_debug_mesh(); + protected: + void _notification(int p_what); + static void _bind_methods(); public: void set_curve(const Ref<Curve3D> &p_curve); Ref<Curve3D> get_curve() const; - Path3D() {} + Path3D(); + ~Path3D(); }; class PathFollow3D : public Node3D { |