32 lines
815 B
Markdown
32 lines
815 B
Markdown
|
|
# UIEditorShortcutManager::UnregisterBinding
|
||
|
|
|
||
|
|
取消注册对象、回调或映射。
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
bool UnregisterBinding(std::uint64_t bindingId);
|
||
|
|
```
|
||
|
|
|
||
|
|
该方法声明于 `XCEditor/Foundation/UIEditorShortcutManager.h`,当前页面用于固定 `UIEditorShortcutManager` 类目录下的方法级 canonical 路径。
|
||
|
|
|
||
|
|
**参数:**
|
||
|
|
- `bindingId` - 参数语义详见头文件声明。
|
||
|
|
|
||
|
|
**返回:** `bool` - 返回值语义详见头文件声明。
|
||
|
|
|
||
|
|
**示例:**
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
#include <XCEditor/Foundation/UIEditorShortcutManager.h>
|
||
|
|
|
||
|
|
void Example() {
|
||
|
|
XCEngine::UIEditorShortcutManager object;
|
||
|
|
// 根据上下文补齐参数后调用 UIEditorShortcutManager::UnregisterBinding(...)。
|
||
|
|
(void)object;
|
||
|
|
}
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [返回类总览](UIEditorShortcutManager.md)
|
||
|
|
- [返回模块目录](../Foundation.md)
|