载入中...
搜索中...
未找到
NodeDesc.cpp 文件参考
#include "scene/NodeDesc.h"
#include "scene/SceneHost.h"
#include <functional>
#include <stdexcept>
#include <unordered_map>
#include <unordered_set>

浏览源代码.

命名空间

namespace  eve
 
namespace  eve::scene
 

函数

void eve::scene::validateUniqueIds (const NodeDesc &root)
 
NodeDesc eve::scene::node (std::string id, std::vector< NodeDesc > children, std::string name)
 
NodeDesc eve::scene::group (std::vector< NodeDesc > children, std::string id)
 
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)
 
void eve::scene::applyTree (SceneHost *host, NodeDesc root)
 
bool eve::scene::applyTreeReconcile (SceneHost *host, NodeDesc root)
 Key-aware patch when structure matches; else full replace. Returns true if full rebuild.