载入中...
搜索中...
未找到
Versioned editor persistence for editable heightfields. 更多...
#include "common/Export.h"#include "editor/EditorResult.h"#include "editor/EditorValue.h"#include "procgen/heightmap/Heightmap.h"#include <cstdint>类 | |
| struct | eve::heightmap_target::TerrainDocumentLimits |
| Allocation limits checked before an editor terrain document is materialized. 更多... | |
| struct | eve::heightmap_target::TerrainDocumentData |
| Owning editable terrain state restored from one document snapshot. 更多... | |
命名空间 | |
| 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. | |
详细描述
Versioned editor persistence for editable heightfields.
在文件 TerrainDocumentCodec.h 中定义.