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
}
nlohmann::basic_json
a class to store JSON values
Definition:
json.hpp:17860
NodeEditorPin
Generated on Thu Apr 7 2022 14:10:53 for TerraForge3D by
1.9.3