载入中...
搜索中...
未找到
eve::editor::IBuildingViewportAdapter类 参考abstract
Host-owned conversion boundary between pointer coordinates and a 2D/3D viewport. 更多...
#include <EditorBuildingTarget.h>
Public 成员函数 | |
| virtual | ~IBuildingViewportAdapter ()=default |
| Releases IBuildingViewportAdapter resources. | |
| virtual editing::Result< BuildingViewportRay > | pointerRay (const EditorPointerEvent &event) const =0 |
| Build a world ray for one normalized pointer event. | |
| virtual editing::Result< OverlayPoint > | projectWorld (const std::array< double, 3 > &world) const =0 |
| Project a world position into the coordinate space accepted by IEditorOverlay. | |
详细描述
Host-owned conversion boundary between pointer coordinates and a 2D/3D viewport.
The tool invokes this interface synchronously on the editor thread and never retains values returned by it across callbacks. Implementations must not re-enter the tool.
在文件 EditorBuildingTarget.h 第 30 行定义.
构造及析构函数说明
◆ ~IBuildingViewportAdapter()
|
virtualdefault |
Releases IBuildingViewportAdapter resources.
成员函数说明
◆ pointerRay()
|
pure virtual |
Build a world ray for one normalized pointer event.
◆ projectWorld()
|
pure virtual |
Project a world position into the coordinate space accepted by IEditorOverlay.
该类的文档由以下文件生成:
- src/modules/building/editor/EditorBuildingTarget.h