TerraForge3D
2.3.1
3D Terrain And Landscape Generator
◆
Save()
nlohmann::json
ShaderTextureNode::Save
(
)
override
virtual
Implements
SNENode
.
Definition at line
59
of file
ShaderTextureNode.cpp
.
60
{
61
nlohmann::json
data;
62
data[
"type"
] =
"ShaderTexture"
;
63
data[
"scale"
] = scale;
64
data[
"offsetX"
] = offsetX;
65
data[
"offsetY"
] = offsetY;
66
data[
"rotation"
] = rotation;
67
data[
"isTriplanar"
] = isTriplanar;
68
data[
"texture"
] = ProjectManager::Get()->SaveTexture(texture);
69
return
data;
70
}
nlohmann::basic_json
a class to store JSON values
Definition:
json.hpp:17860
ShaderTextureNode
Generated on Thu Apr 7 2022 14:10:54 for TerraForge3D by
1.9.3