0.2.0
Loading...
Searching...
No Matches
ax::NodeEditor::Utilities::BlueprintNodeBuilder Class Reference

Node Builder class. More...

Public Member Functions

void Begin (ax::NodeEditor::NodeId id)
 Begins building a node.
 
 BlueprintNodeBuilder (ImTextureID texture=nullptr, int textureWidth=0, int textureHeight=0)
 Constructor.
 
void End ()
 Ends building a node.
 
void EndHeader ()
 Ends building the header.
 
void Header (const ImVec4 &color=ImVec4(1, 1, 1, 1))
 Begins building the header.
 
void Input (ax::NodeEditor::PinId id)
 Begins building an input pin.
 
void Middle ()
 Begins building of the middle of the node.
 
void Output (ax::NodeEditor::PinId id)
 Begins building an output pin.
 

Static Public Member Functions

static void EndInput ()
 Ends building the input pin.
 
static void EndOutput ()
 Ends building the output pin.
 

Detailed Description

Node Builder class.

Constructor & Destructor Documentation

◆ BlueprintNodeBuilder()

ax::NodeEditor::Utilities::BlueprintNodeBuilder::BlueprintNodeBuilder ( ImTextureID texture = nullptr,
int textureWidth = 0,
int textureHeight = 0 )
explicit

Constructor.

Parameters
[in]texturePointer to the texture to use for the node
[in]textureWidthWidth of the provided texture
[in]textureHeightHeight of the provided texture

Member Function Documentation

◆ Begin()

void ax::NodeEditor::Utilities::BlueprintNodeBuilder::Begin ( ax::NodeEditor::NodeId id)

Begins building a node.

Parameters
[in]idId of the node to build

◆ Header()

void ax::NodeEditor::Utilities::BlueprintNodeBuilder::Header ( const ImVec4 & color = ImVec4(1, 1, 1, 1))

Begins building the header.

Parameters
[in]colorColor of the header

◆ Input()

void ax::NodeEditor::Utilities::BlueprintNodeBuilder::Input ( ax::NodeEditor::PinId id)

Begins building an input pin.

Parameters
[in]idId of the pin to build

◆ Output()

void ax::NodeEditor::Utilities::BlueprintNodeBuilder::Output ( ax::NodeEditor::PinId id)

Begins building an output pin.

Parameters
[in]idId of the pin to build

The documentation for this class was generated from the following file: