TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ Save()

nlohmann::json DivNode::Save ( )
virtual

Implements NodeEditorNode.

Definition at line 50 of file DivNode.cpp.

51{
52 nlohmann::json data;
53 data["type"] = MeshNodeEditor::MeshNodeType::Div;
54 data["value1"] = value1;
55 data["value2"] = value2;
56 return data;
57}
a class to store JSON values
Definition: json.hpp:17860