载入中...
搜索中...
未找到
RoadNetworkCodec.cpp 文件参考
#include "procgen/road/RoadNetworkCodec.h"
#include <cmath>
#include <limits>
#include <utility>
#include "procgen/road/RoadValueReaders.inc"
#include "procgen/road/RoadConnectionCodec.inc"
#include "procgen/road/RoadPointCodec.inc"
#include "procgen/road/RoadRecordCodec.inc"
#include "procgen/road/RoadStyleCodec.inc"

浏览源代码.

命名空间

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

函数

Result< eve::Value > eve::procgen::road::captureRoadNetwork (const RoadNetwork &network)
 Capture validated, owning author data using the editor-compatible roadNetwork schema v1. @ownership The returned value owns all records; no borrowed buffers or derived meshes. @thread Caller synchronizes concurrent edits. No callbacks. @cost Linear in author records and prefab source geometry; reuse the snapshot across consumers.
 
Result< RoadNetwork > eve::procgen::road::restoreRoadNetwork (const eve::Value &snapshot)
 Decode schema v1 privately; unknown fields are ignored and unsupported versions rejected.