载入中...
搜索中...
未找到
RoadNetworkCodec.h
浏览该文件的文档.
11[[nodiscard]] EVENGINE_API_DOMAINS Result<eve::Value> captureRoadNetwork(const RoadNetwork& network);
17[[nodiscard]] EVENGINE_API_DOMAINS Result<RoadNetwork> restoreRoadNetwork(const eve::Value& snapshot);
23[[nodiscard]] EVENGINE_API_DOMAINS Result<void> setRoadRecipeNetwork(Params& params, const RoadNetwork& network);
31[[nodiscard]] EVENGINE_API_DOMAINS Result<RoadNetwork> resolveRoadRecipeNetwork(const Params& params);
Owning, renderer-independent dynamic values.
Definition TerrainWorldWorkspace.h:12
Result< eve::Value > captureRoadNetwork(const RoadNetwork &network)
Capture validated, owning author data using the editor-compatible roadNetwork schema v1....
Definition RoadNetworkCodec.cpp:38
Result< RoadNetwork > restoreRoadNetwork(const eve::Value &snapshot)
Decode schema v1 privately; unknown fields are ignored and unsupported versions rejected.
Definition RoadNetworkCodec.cpp:70
EVENGINE_API_DOMAINS Result< void > setRoadRecipeNetwork(Params ¶ms, const RoadNetwork &network)
Store canonical validated author data in the standard recipe's networkSnapshot parameter....
Definition RoadRecipeNetwork.cpp:5
EVENGINE_API_DOMAINS Result< RoadNetwork > resolveRoadRecipeNetwork(const Params ¶ms)
Resolve the recipe's author snapshot, or its procedural scene when no snapshot was supplied.
Definition RoadRecipeNetwork.cpp:16