812 B
812 B
UIEditorCommandDispatcher::GetCommandRegistry
获取相关状态或对象。
const UIEditorCommandRegistry& GetCommandRegistry() const;
该方法声明于 XCEditor/Foundation/UIEditorCommandDispatcher.h,当前页面用于固定 UIEditorCommandDispatcher 类目录下的方法级 canonical 路径。
参数: 无。
返回: const UIEditorCommandRegistry& - 返回值语义详见头文件声明。
示例:
#include <XCEditor/Foundation/UIEditorCommandDispatcher.h>
void Example() {
XCEngine::UIEditorCommandDispatcher object;
// 根据上下文补齐参数后调用 UIEditorCommandDispatcher::GetCommandRegistry(...)。
(void)object;
}