载入中...
搜索中...
未找到
SceneComponent.cpp
浏览该文件的文档.
SceneHost * host() const
Returns the currently attached host, or null before attach.
Definition SceneComponent.h:38
virtual void onMount(SceneHost *host)
Called once when the component is attached to a host.
Definition SceneComponent.h:24
bool updateIfDirty()
If dirty, rebuild and clear flag. Returns true if rebuilt.
Definition SceneComponent.cpp:41
void rebuild(bool forceFull=false)
Rebuild tree onto host (reconcile by key when possible).
Definition SceneComponent.cpp:32
ECS mount point for one scene graph (full scene or nested subtree root). Isomorphic to eve::ui::UIHos...
Definition SceneHost.h:89
bool setTreeReconcile(NodeDesc root)
Key-aware patch when structure matches; else full replace.
Definition SceneHost.cpp:149
static eve::Result< SceneHost * > createHost(const std::string &name="")
Creates an ECS-owned scene host with an explicit Result contract.
Definition SceneHost.cpp:129
Definition AvatarInstance.h:33
Declarative scene-node description (build once / on dirty → flatten into SceneHost::Tree)....
Definition NodeDesc.h:19