载入中...
搜索中...
未找到
eve::scene::SceneObject类 参考
Per-node ECS identity (created lazily when a node needs script bindings or engine components). A node's stable string id (hostName + nodeId) is mirrored here so ECS systems can address scene nodes and vice versa. 更多...
#include <SceneObject.h>
类 eve::scene::SceneObject 继承关系图:
类 | |
| struct | Meta |
| struct | ScriptBindings |
Public 成员函数 | |
| void | release () override |
静态 Public 成员函数 | |
| static SceneObject * | createObject (const std::string &hostName, const std::string &nodeId) |
详细描述
Per-node ECS identity (created lazily when a node needs script bindings or engine components). A node's stable string id (hostName + nodeId) is mirrored here so ECS systems can address scene nodes and vice versa.
Meta holds the binding back to the arena node; ScriptBindings roots the script eve.SceneEntity instances attached to that node (sq_addref). The scene module owns the whole lifecycle; do not create standalone.
在文件 SceneObject.h 第 21 行定义.
成员函数说明
◆ createObject()
|
static |
在文件 SceneObject.cpp 第 5 行定义.
◆ release()
|
inlineoverride |
在文件 SceneObject.h 第 25 行定义.
该类的文档由以下文件生成:
- src/modules/scene/SceneObject.h
- src/modules/scene/SceneObject.cpp