载入中...
搜索中...
未找到
TerrainDocumentCodec.cpp 文件参考
#include "procgen/heightmap_target/TerrainDocumentCodec.h"
#include "editing/EditingResult.h"
#include <cmath>
#include <limits>
#include <set>
#include <string>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::heightmap_target
 

函数

editor::Result< editor::EditorValue > eve::heightmap_target::encodeTerrainDocument (const procgen::Heightmap &heightmap, float spacingX, float spacingZ, const TerrainDocumentLimits &limits={})
 Encode the current authoritative heightmap as eve.terrain-editor-document/1.
 
editor::Result< TerrainDocumentData > eve::heightmap_target::decodeTerrainDocument (const editor::EditorValue &value, const TerrainDocumentLimits &limits={})
 Validate and atomically decode one terrain editor snapshot.