1.0 KiB
1.0 KiB
UIEditorShortcutManager::Dispatch
公开方法,详见头文件声明。
UIEditorShortcutDispatchResult Dispatch( const XCEngine::UI::UIInputEvent& event, const XCEngine::UI::UIShortcutContext& shortcutContext, UIEditorWorkspaceController& controller) const;
该方法声明于 XCEditor/Foundation/UIEditorShortcutManager.h,当前页面用于固定 UIEditorShortcutManager 类目录下的方法级 canonical 路径。
参数:
event- 参数语义详见头文件声明。shortcutContext- 参数语义详见头文件声明。controller- 参数语义详见头文件声明。
返回: UIEditorShortcutDispatchResult - 返回值语义详见头文件声明。
示例:
#include <XCEditor/Foundation/UIEditorShortcutManager.h>
void Example() {
XCEngine::UIEditorShortcutManager object;
// 根据上下文补齐参数后调用 UIEditorShortcutManager::Dispatch(...)。
(void)object;
}