载入中...
搜索中...
未找到
eve::editor::EditorFocusService类 参考
Shared semantic focus service for docked editor and game HUD surfaces. 更多...
#include <EditorSelection.h>
Public 成员函数 | |
| Result< EditorFocusSnapshot > | focus (std::string channel, StableId surface, StableId item={}) |
| Set the focused surface/item for one channel. | |
| EditorFocusSnapshot | snapshot (const std::string &channel) const |
| Read the current focus of one channel. | |
详细描述
Shared semantic focus service for docked editor and game HUD surfaces.
在文件 EditorSelection.h 第 54 行定义.
成员函数说明
◆ focus()
| Result< EditorFocusSnapshot > eve::editor::EditorFocusService::focus | ( | std::string | channel, |
| StableId | surface, | ||
| StableId | item = {} |
||
| ) |
Set the focused surface/item for one channel.
在文件 EditorSelection.cpp 第 49 行定义.
引用了 eve::editing::FocusSnapshot::channel, eve::UuidIdAdapter< Tag >::empty() , 以及 value.
◆ snapshot()
| EditorFocusSnapshot eve::editor::EditorFocusService::snapshot | ( | const std::string & | channel | ) | const |
Read the current focus of one channel.
在文件 EditorSelection.cpp 第 62 行定义.
引用了 eve::editing::FocusSnapshot::channel , 以及 found.
该类的文档由以下文件生成:
- src/modules/editor/EditorSelection.h
- src/modules/editor/EditorSelection.cpp