载入中...
搜索中...
未找到
Terrain bake hexmap applies; procgen produces the payload. 更多...
#include "common/Export.h"#include "common/Result.h"#include "common/Value.h"#include "hexmap/HexCell.h"#include "hexmap/HexMap.h"#include "hexmap/HexSphereMap.h"#include <cstdint>#include <vector>类 | |
| struct | eve::hexmap::HexTerrainBake |
| Packed terrain produced by a generator and applied onto a hex map. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::hexmap |
函数 | |
| HexTerrainBake | eve::hexmap::snapshotHexTerrain (const HexMap &map) |
| Snapshot every cell of a planar map into a bake. | |
| HexTerrainBake | eve::hexmap::snapshotHexSphereTerrain (const HexSphereMap &map) |
| Snapshot every cell of a spherical map into a bake. | |
| Value | eve::hexmap::hexTerrainBakeToValue (const HexTerrainBake &bake) |
| Project a bake into the script Result payload. | |
| Result< HexTerrainBake > | eve::hexmap::hexTerrainBakeFromValue (const Value &value) |
Parse a script bake payload produced by hexTerrainBakeToValue. | |
| Result< void > | eve::hexmap::applyHexTerrain (HexMap &map, const HexTerrainBake &bake) |
| Replace a planar map's cells with a bake. | |
| Result< void > | eve::hexmap::applyHexSphereTerrain (HexSphereMap &map, const HexTerrainBake &bake) |
| Replace a spherical map's cells with a bake. | |
详细描述
Terrain bake hexmap applies; procgen produces the payload.
在文件 HexTerrainBake.h 中定义.