1#include "Generators/CPUNodeEditor/Nodes/TimeBasedSeedNode.h"
2#include "Generators/CPUNodeEditor/CPUNodeEditor.h"
19 data[
"type"] = MeshNodeEditor::MeshNodeType::TimeBasedSeed;
24void TimeBasedSeedNode::OnRender()
26 DrawHeader(
"Time Based Seed");
27 ImGui::Dummy(ImVec2(200, 10));
30 outputPins[0]->Render();
32 ImGui::Text(
"Current Seed : ");
34 ImGui::PushItemWidth(200);
35 ImGui::InputInt(MAKE_IMGUI_ID(
id), &val, 1);
36 ImGui::PopItemWidth();
39 if (ImGui::Button(
"Regenerate Seed"))
45TimeBasedSeedNode::TimeBasedSeedNode()
47 headerColor = ImColor(VALUE_NODE_COLOR);
48 outputPins.push_back(
new NodeEditorPin(NodeEditorPinType::Output));
a class to store JSON values