TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ Save()

nlohmann::json TextureBaker::Save ( )

Definition at line 225 of file TextureBaker.cpp.

226{
227 nlohmann::json data;
228 data["type"] = "TextureBaker";
229 data["useTiledExport"] = useTiledExport;
230 data["tileResolution"] = tileResolution;
231 data["tileCount"] = tileCount;
232 // data["autoCalculateHeightMapMinMax"] = autoCalculateHeightMapMinMax;
233 data["heightMapMinMax.x"] = heightMapMinMax[0];
234 data["heightMapMinMax.y"] = heightMapMinMax[1];
235 data["currentTextureSlot"] = currentTextureSlot;
236
237 return data;
238}
a class to store JSON values
Definition: json.hpp:17860