TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ Load()

void NodeEditorPin::Load ( nlohmann::json  data)
virtual

Definition at line 65 of file NodeEditor.cpp.

66{
67 id = data["id"];
68 _id = id;
69 type = data["type"];
70 color = data["color"];
71 userData = data["userData"].get<uint32_t>(); // Temporary
72}
auto get() const noexcept(noexcept(std::declval< const basic_json_t & >().template get_impl< ValueType >(detail::priority_tag< 4 > {}))) -> decltype(std::declval< const basic_json_t & >().template get_impl< ValueType >(detail::priority_tag< 4 > {}))
get a (pointer) value (explicit)
Definition: json.hpp:20907