Pointer input normalized by an editor viewport adapter. 更多...
#include <EditorTool.h>
Public 类型 | |
| enum class | Phase { Down , Move , Up , Cancel } |
| Phase public API. 更多... | |
Public 属性 | |
| Phase | phase = Phase::Move |
| int | pointerId = 0 |
| int | button = 0 |
| float | x = 0.f |
| float | y = 0.f |
| float | z = 0.f |
| float | deltaX = 0.f |
| float | deltaY = 0.f |
| float | deltaZ = 0.f |
| float | pressure = 1.f |
| bool | shift = false |
| bool | control = false |
| bool | alt = false |
详细描述
Pointer input normalized by an editor viewport adapter.
在文件 EditorTool.h 第 20 行定义.
成员枚举类型说明
◆ Phase
|
strong |
类成员变量说明
◆ alt
| bool eve::editor::EditorPointerEvent::alt = false |
在文件 EditorTool.h 第 36 行定义.
◆ button
| int eve::editor::EditorPointerEvent::button = 0 |
◆ control
| bool eve::editor::EditorPointerEvent::control = false |
在文件 EditorTool.h 第 35 行定义.
◆ deltaX
| float eve::editor::EditorPointerEvent::deltaX = 0.f |
在文件 EditorTool.h 第 30 行定义.
◆ deltaY
| float eve::editor::EditorPointerEvent::deltaY = 0.f |
在文件 EditorTool.h 第 31 行定义.
◆ deltaZ
| float eve::editor::EditorPointerEvent::deltaZ = 0.f |
在文件 EditorTool.h 第 32 行定义.
◆ phase
| Phase eve::editor::EditorPointerEvent::phase = Phase::Move |
在文件 EditorTool.h 第 24 行定义.
被这些函数引用 eve::editor::EditorSession::dispatchPointer(), eve::editor::ArchSpaceWallDrawTool::pointerEvent(), eve::editor::ArchSpaceOpeningPlaceTool::pointerEvent(), eve::editor::ArchSpaceItemPlaceTool::pointerEvent(), eve::editor::BuildingEdgeCurveTool::pointerEvent(), eve::editor::FieldBrushTool::pointerEvent(), eve::editor::ScriptEditorTool::pointerEvent() , 以及 eve::editor::VolumeBrushTool::pointerEvent().
◆ pointerId
| int eve::editor::EditorPointerEvent::pointerId = 0 |
在文件 EditorTool.h 第 25 行定义.
被这些函数引用 eve::editor::EditorSession::dispatchPointer() , 以及 eve::editor::ScriptEditorTool::pointerEvent().
◆ pressure
| float eve::editor::EditorPointerEvent::pressure = 1.f |
在文件 EditorTool.h 第 33 行定义.
◆ shift
| bool eve::editor::EditorPointerEvent::shift = false |
在文件 EditorTool.h 第 34 行定义.
◆ x
| float eve::editor::EditorPointerEvent::x = 0.f |
◆ y
| float eve::editor::EditorPointerEvent::y = 0.f |
◆ z
| float eve::editor::EditorPointerEvent::z = 0.f |
在文件 EditorTool.h 第 29 行定义.
该结构体的文档由以下文件生成:
- src/modules/editor/EditorTool.h