载入中...
搜索中...
未找到
eve::IWorldSphereSweepFactory类 参考abstract
Optional binding capability; physics owns the factory for process lifetime. 更多...
#include <WorldSphereSweep.h>
Public 成员函数 | |
| virtual | ~IWorldSphereSweepFactory ()=default |
| Release factory resources. | |
| virtual Result< std::unique_ptr< IWorldSphereSweep > > | bind (std::string_view worldToken, WorldSphereSweepSettings settings) const =0 |
| Bind an opaque World3D query token and snapshot the ignored body's generation. @ownership Returns an owning session; no raw world pointer survives this call. @thread Owner simulation thread only; no callbacks. @cost Allocates one query session per binding, amortized across all projectile updates. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "eve.physics.IWorldSphereSweepFactory" |
详细描述
Optional binding capability; physics owns the factory for process lifetime.
在文件 WorldSphereSweep.h 第 52 行定义.
构造及析构函数说明
◆ ~IWorldSphereSweepFactory()
|
virtualdefault |
Release factory resources.
成员函数说明
◆ bind()
|
pure virtual |
Bind an opaque World3D query token and snapshot the ignored body's generation. @ownership Returns an owning session; no raw world pointer survives this call. @thread Owner simulation thread only; no callbacks. @cost Allocates one query session per binding, amortized across all projectile updates.
- 返回
- Failure preserves any previous binding in the caller.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 WorldSphereSweep.h 第 54 行定义.
该类的文档由以下文件生成:
- src/engine/common/WorldSphereSweep.h