载入中...
搜索中...
未找到
eve::action::IActionPrefabInstances类 参考abstract
Optional owner-thread service for prefab instances detached from an action block. 更多...
#include <ActionPrefabInstances.h>
Public 成员函数 | |
| virtual | ~IActionPrefabInstances ()=default |
| Releases IActionPrefabInstances resources. | |
| virtual std::vector< PrefabInstanceInfo > | independentInstances () const =0 |
| List current independent instances in stable slot order. | |
| virtual Result< void > | recycleIndependent (PrefabInstanceHandle handle)=0 |
| Recycle one independent instance and invalidate its handle. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "eve.action.prefab-instances" |
详细描述
Optional owner-thread service for prefab instances detached from an action block.
The providing scene/presentation module remains the authoritative owner. The caller receives handles and owning metadata only; no ECS or renderer pointer crosses the module boundary.
在文件 ActionPrefabInstances.h 第 32 行定义.
构造及析构函数说明
◆ ~IActionPrefabInstances()
|
virtualdefault |
Releases IActionPrefabInstances resources.
成员函数说明
◆ independentInstances()
|
pure virtual |
List current independent instances in stable slot order.
- 返回
- Owning records; active action-owned and pooled instances are excluded. @thread Owner/render thread only.
◆ recycleIndependent()
|
pure virtual |
Recycle one independent instance and invalidate its handle.
- 参数
-
handle Generation-qualified identity previously returned by independentInstances().
- 返回
- Applied, or NotFound for an invalid/stale/non-independent handle. @thread Owner/render thread only; invokes no script callbacks.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 ActionPrefabInstances.h 第 34 行定义.
该类的文档由以下文件生成:
- src/modules/action/ActionPrefabInstances.h