TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ OnRender()

void FloatNode::OnRender ( )
overridevirtual

Implements SNENode.

Definition at line 28 of file FloatNode.cpp.

29{
30 DrawHeader("Float Value");
31 ImGui::PushItemWidth(100);
32
33 if(ImGui::DragFloat("X", &x, 0.01f))
34 {
35 sharedData->d0 = x;
36 }
37
38 ImGui::SameLine();
39 outputPins[0]->Render();
40
41 ImGui::PopItemWidth();
42}