载入中...
搜索中...
未找到
eve::physics_editing::IPhysicsEditingFactory类 参考abstract
Open capability for constructing collider authoring targets without editor type switches. 更多...
#include <PhysicsEditingProvider.h>
Public 成员函数 | |
| virtual | ~IPhysicsEditingFactory ()=default |
| Releases IPhysicsEditingFactory resources. | |
| virtual std::unique_ptr< PhysicsColliderPublishingTarget > | createCollider (std::string id, int dimensions, IPhysicsColliderRuntimeSink *sink) const =0 |
| Create an independently owned collider publishing target. | |
静态 Public 成员函数 | |
| static editing::CapabilityId | capabilityId () |
| Return the stable capability id used with ProviderLease::query(). | |
详细描述
Open capability for constructing collider authoring targets without editor type switches.
在文件 PhysicsEditingProvider.h 第 14 行定义.
构造及析构函数说明
◆ ~IPhysicsEditingFactory()
|
virtualdefault |
Releases IPhysicsEditingFactory resources.
成员函数说明
◆ capabilityId()
|
inlinestatic |
Return the stable capability id used with ProviderLease::query().
在文件 PhysicsEditingProvider.h 第 29 行定义.
◆ createCollider()
|
pure virtual |
Create an independently owned collider publishing target.
- 参数
-
id Stable target identity. dimensions Collider dimensionality accepted by the target. sink Borrowed runtime sink that must outlive the returned target; null disables publication.
- 返回
- Newly allocated target owned by the caller. @thread Main-thread only.
该类的文档由以下文件生成:
- src/modules/physics/editing/PhysicsEditingProvider.h