13#include <imgui_node_editor.h>
16namespace ax::NodeEditor::Utilities
32 void Begin(ax::NodeEditor::NodeId
id);
39 void Header(
const ImVec4& color = ImVec4(1, 1, 1, 1));
46 void Input(ax::NodeEditor::PinId
id);
55 void Output(ax::NodeEditor::PinId
id);
76 bool SetStage(Stage stage);
81 static void Pin(ax::NodeEditor::PinId
id, ax::NodeEditor::PinKind kind);
85 ImTextureID HeaderTextureId;
86 int HeaderTextureWidth;
87 int HeaderTextureHeight;
88 NodeId CurrentNodeId = 0;
89 Stage CurrentStage = Stage::Invalid;
90 ImU32 HeaderColor = IM_COL32(255, 255, 255, 0);
97 bool HasHeader =
false;
Node Builder class.
Definition BlueprintNodeBuilder.hpp:22
void End()
Ends building a node.
void Output(ax::NodeEditor::PinId id)
Begins building an output pin.
void Begin(ax::NodeEditor::NodeId id)
Begins building a node.
void Middle()
Begins building of the middle of the node.
void Input(ax::NodeEditor::PinId id)
Begins building an input pin.
static void EndInput()
Ends building the input pin.
void EndHeader()
Ends building the header.
BlueprintNodeBuilder(ImTextureID texture=nullptr, int textureWidth=0, int textureHeight=0)
Constructor.
static void EndOutput()
Ends building the output pin.
void Header(const ImVec4 &color=ImVec4(1, 1, 1, 1))
Begins building the header.