Files
XCEngine/docs/api/XCEditor/Foundation/UIEditorShortcutManager/GetHostCommandHandler.md

801 B

UIEditorShortcutManager::GetHostCommandHandler

获取相关状态或对象。

UIEditorHostCommandHandler* GetHostCommandHandler() const;

该方法声明于 XCEditor/Foundation/UIEditorShortcutManager.h,当前页面用于固定 UIEditorShortcutManager 类目录下的方法级 canonical 路径。

参数: 无。

返回: UIEditorHostCommandHandler* - 返回值语义详见头文件声明。

示例:

#include <XCEditor/Foundation/UIEditorShortcutManager.h>

void Example() {
    XCEngine::UIEditorShortcutManager object;
    // 根据上下文补齐参数后调用 UIEditorShortcutManager::GetHostCommandHandler(...)。
    (void)object;
}

相关文档