TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ Render()

void NodeEditorPin::Render ( )

Definition at line 131 of file NodeEditor.cpp.

132{
133 if (type == NodeEditorPinType::Output)
134 {
135 ImGui::SameLine();
136 }
137
138 Begin();
139
140 if(IsLinked())
141 {
142 ImGui::DrawFilledCircle(10, color);
143 }
144
145 else
146 {
147 ImGui::DrawCircle(10, color);
148 }
149
150 ImGui::Dummy(ImVec2(20, 20));
151 End();
152
153 if(type== NodeEditorPinType::Input)
154 {
155 ImGui::SameLine();
156 }
157}