TerraForge3D
2.3.1
3D Terrain And Landscape Generator
◆
OnRender()
void OutputNode::OnRender
(
)
virtual
Implements
NodeEditorNode
.
Definition at line
26
of file
OutputNode.cpp
.
27
{
28
DrawHeader(
"Output"
);
29
inputPins[0]->Render();
30
31
if
(!inputPins[0]->IsLinked())
32
{
33
ImGui::PushItemWidth(100);
34
ImGui::DragFloat((
"##"
+ std::to_string(inputPins[0]->
id
)).c_str(), &value, 0.01f);
35
ImGui::PopItemWidth();
36
}
37
38
else
39
{
40
ImGui::Dummy(ImVec2(100, 40));
41
}
42
}
OutputNode
Generated on Thu Apr 7 2022 14:10:54 for TerraForge3D by
1.9.3