#pragma once #include "node.h" #include "node_stroke_preview.h" #include "node_slider.h" #include "brush.h" #include "node_checkbox.h" #include "node_combobox.h" #include "node_image_texture.h" #include "node_button.h" #include "shape.h" #include "image.h" class NodePanelGrid : public Node { public: NodeSliderH* m_groud_opacity; NodeSliderH* m_groud_scale; NodeSliderH* m_groud_value; NodeSliderH* m_groud_height; NodeSliderH* m_box_opacity; NodeSliderH* m_box_width; NodeSliderH* m_box_height; NodeSliderH* m_box_depth; NodeImageTexture* m_hm_preview; NodeButton* m_hm_load; NodeSliderH* m_hm_offset; NodeSliderH* m_hm_height; ui::HeightmapPlane m_hm_plane; ui::Image m_hm_image; virtual Node* clone_instantiate() const override; virtual void clone_finalize(Node* dest) const override; virtual void init() override; void init_controls(); };