载入中...
搜索中...
未找到
eve::voxelworld_target::VoxelWorldTargetModule类 参考final
Script-facing composition module for live voxel-world editing targets. 更多...
#include <VoxelWorldTargetModule.h>
类 eve::voxelworld_target::VoxelWorldTargetModule 继承关系图:
Public 成员函数 | |
| Module_REG (VoxelWorldTargetModule) | |
| std::unique_ptr< voxel_editing::VoxelWorldTarget > | newTarget (std::string id, voxel::VoxelWorld *world) const |
| Create an independently owned adapter over a borrowed voxel world. | |
| void | bind (editor::EditorSession *session, voxel_editing::VoxelWorldTarget *target) const |
| Bind borrowed target and session objects without taking ownership. @thread Owner-thread only. | |
Public 成员函数 继承自 eve::Module | |
| virtual | ~Module () |
| Module. | |
| virtual std::string | getName () const =0 |
| Returns the name. | |
详细描述
Script-facing composition module for live voxel-world editing targets.
在文件 VoxelWorldTargetModule.h 第 15 行定义.
成员函数说明
◆ bind()
| void eve::voxelworld_target::VoxelWorldTargetModule::bind | ( | editor::EditorSession * | session, |
| voxel_editing::VoxelWorldTarget * | target | ||
| ) | const |
Bind borrowed target and session objects without taking ownership. @thread Owner-thread only.
在文件 VoxelWorldTargetModule.cpp 第 21 行定义.
◆ Module_REG()
| eve::voxelworld_target::VoxelWorldTargetModule::Module_REG | ( | VoxelWorldTargetModule | ) |
◆ newTarget()
| std::unique_ptr< voxel_editing::VoxelWorldTarget > eve::voxelworld_target::VoxelWorldTargetModule::newTarget | ( | std::string | id, |
| voxel::VoxelWorld * | world | ||
| ) | const |
Create an independently owned adapter over a borrowed voxel world.
在文件 VoxelWorldTargetModule.cpp 第 16 行定义.
引用了 eve::voxel_editing::createVoxelWorldTarget() , 以及 world.
该类的文档由以下文件生成:
- src/modules/voxel/voxelworld_target/VoxelWorldTargetModule.h
- src/modules/voxel/voxelworld_target/VoxelWorldTargetModule.cpp
Public 成员函数 继承自