载入中...
搜索中...
未找到
HexTerrainBake.h
浏览该文件的文档.
54[[nodiscard]] EVENGINE_API_WORLD HexTerrainBake snapshotHexSphereTerrain(const HexSphereMap& map);
68[[nodiscard]] EVENGINE_API_WORLD Result<HexTerrainBake> hexTerrainBakeFromValue(const Value& value);
82[[nodiscard]] EVENGINE_API_WORLD Result<void> applyHexTerrain(HexMap& map, const HexTerrainBake& bake);
96[[nodiscard]] EVENGINE_API_WORLD Result<void> applyHexSphereTerrain(HexSphereMap& map, const HexTerrainBake& bake);
Packed per-cell state records of the hex map.
Editable hex cell grid: topology, queries, picking and authoring.
Editable spherical hex map over an icosahedral hex topology.
Move-only, checked operation results for the common layer.
Owning, renderer-independent dynamic values.
Definition HexCell.h:9
HexTerrainBake snapshotHexSphereTerrain(const HexSphereMap &map)
Snapshot every cell of a spherical map into a bake.
Definition HexTerrainBake.cpp:96
Result< void > applyHexTerrain(HexMap &map, const HexTerrainBake &bake)
Replace a planar map's cells with a bake.
Definition HexTerrainBake.cpp:175
Result< HexTerrainBake > hexTerrainBakeFromValue(const Value &value)
Parse a script bake payload produced by hexTerrainBakeToValue.
Definition HexTerrainBake.cpp:128
HexTerrainBake snapshotHexTerrain(const HexMap &map)
Snapshot every cell of a planar map into a bake.
Definition HexTerrainBake.cpp:81
Result< void > applyHexSphereTerrain(HexSphereMap &map, const HexTerrainBake &bake)
Replace a spherical map's cells with a bake.
Definition HexTerrainBake.cpp:192
Value hexTerrainBakeToValue(const HexTerrainBake &bake)
Project a bake into the script Result payload.
Definition HexTerrainBake.cpp:111
Packed terrain produced by a generator and applied onto a hex map.
Definition HexTerrainBake.h:28