载入中...
搜索中...
未找到
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 SceneObjectcreateObject (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.h21 行定义.

成员函数说明

◆ createObject()

SceneObject * eve::scene::SceneObject::createObject ( const std::string &  hostName,
const std::string &  nodeId 
)
static

在文件 SceneObject.cpp5 行定义.

◆ release()

void eve::scene::SceneObject::release ( )
inlineoverride

在文件 SceneObject.h25 行定义.


该类的文档由以下文件生成: