TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ Save()

nlohmann::json NodeEditorPin::Save ( )
virtual

Definition at line 55 of file NodeEditor.cpp.

56{
57 nlohmann::json data;
58 data["id"] = id;
59 data["type"] = type;
60 data["userData"] = static_cast<uint32_t>(userData); // Temporary
61 data["color"] = color;
62 return data;
63}
a class to store JSON values
Definition: json.hpp:17860