载入中...
搜索中...
未找到
#include "scene/NodeDesc.h"#include "scene/SceneHost.h"#include <functional>#include <stdexcept>#include <unordered_map>#include <unordered_set>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::scene |
函数 | |
| void | eve::scene::validateUniqueIds (const NodeDesc &root) |
| NodeDesc | eve::scene::node (std::string id, std::vector< NodeDesc > children={}, std::string name="") |
| Node. | |
| NodeDesc | eve::scene::group (std::vector< NodeDesc > children={}, std::string id="") |
| Group. | |
| NodeDesc | eve::scene::when (bool cond, NodeDesc child) |
Conditional: include child only when cond is true (empty group otherwise). | |
| NodeDesc | eve::scene::whenElse (bool cond, NodeDesc ifTrue, NodeDesc ifFalse) |
| When else. | |
| void | eve::scene::applyTree (SceneHost *host, NodeDesc root) |
| Applies tree. | |
| bool | eve::scene::applyTreeReconcile (SceneHost *host, NodeDesc root) |
| Key-aware patch when structure matches; else full replace. Returns true if full rebuild. | |