-Added missing setters to GraphNode.

-Improved various GraphNode documentation.
This commit is contained in:
Anilforextra 2021-05-11 13:02:47 +05:45
parent 479391ef54
commit 2c3c3b2829
3 changed files with 160 additions and 9 deletions

View file

@ -113,11 +113,23 @@ public:
void set_slot(int p_idx, bool p_enable_left, int p_type_left, const Color &p_color_left, bool p_enable_right, int p_type_right, const Color &p_color_right, const Ref<Texture2D> &p_custom_left = Ref<Texture2D>(), const Ref<Texture2D> &p_custom_right = Ref<Texture2D>());
void clear_slot(int p_idx);
void clear_all_slots();
bool is_slot_enabled_left(int p_idx) const;
void set_slot_enabled_left(int p_idx, bool p_enable_left);
void set_slot_type_left(int p_idx, int p_type_left);
int get_slot_type_left(int p_idx) const;
void set_slot_color_left(int p_idx, const Color &p_color_left);
Color get_slot_color_left(int p_idx) const;
bool is_slot_enabled_right(int p_idx) const;
void set_slot_enabled_right(int p_idx, bool p_enable_right);
void set_slot_type_right(int p_idx, int p_type_right);
int get_slot_type_right(int p_idx) const;
void set_slot_color_right(int p_idx, const Color &p_color_right);
Color get_slot_color_right(int p_idx) const;
void set_title(const String &p_title);