载入中...
搜索中...
未找到
#include "common/Export.h"#include "common/Identity.h"#include <string>#include <utility>#include <vector>类 | |
| struct | eve::scene::NodeDesc |
| Declarative scene-node description (build once / on dirty → flatten into SceneHost::Tree). Isomorphic to eve::ui::WidgetDesc. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::scene |
函数 | |
| 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. | |