You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Implements expandable color ports in visual shaders
This commit is contained in:
@@ -83,6 +83,8 @@ private:
|
||||
List<VisualShader::Connection> connections;
|
||||
bool dirty = false;
|
||||
|
||||
Color vector_expanded_color[3];
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
@@ -119,6 +121,7 @@ public:
|
||||
void set_expression(VisualShader::Type p_type, int p_node_id, const String &p_expression);
|
||||
int get_constant_index(float p_constant) const;
|
||||
void update_node_size(int p_node_id);
|
||||
void update_theme();
|
||||
VisualShader::Type get_shader_type() const;
|
||||
|
||||
VisualShaderGraphPlugin();
|
||||
@@ -401,6 +404,7 @@ class VisualShaderEditor : public VBoxContainer {
|
||||
void _remove_output_port(int p_node, int p_port);
|
||||
void _change_output_port_type(int p_type, int p_node, int p_port);
|
||||
void _change_output_port_name(const String &p_text, Object *p_line_edit, int p_node, int p_port);
|
||||
void _expand_output_port(int p_node, int p_port, bool p_expand);
|
||||
|
||||
void _expression_focus_out(Object *code_edit, int p_node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user