docs: add xceditor api tree and new resource docs
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# UIEditorCommandDispatcher::SetHostCommandHandler
|
||||
|
||||
设置相关状态或配置。
|
||||
|
||||
```cpp
|
||||
void SetHostCommandHandler(UIEditorHostCommandHandler* handler);
|
||||
```
|
||||
|
||||
该方法声明于 `XCEditor/Foundation/UIEditorCommandDispatcher.h`,当前页面用于固定 `UIEditorCommandDispatcher` 类目录下的方法级 canonical 路径。
|
||||
|
||||
**参数:**
|
||||
- `handler` - 参数语义详见头文件声明。
|
||||
|
||||
**返回:** `void` - 无返回值。
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
#include <XCEditor/Foundation/UIEditorCommandDispatcher.h>
|
||||
|
||||
void Example() {
|
||||
XCEngine::UIEditorCommandDispatcher object;
|
||||
// 根据上下文补齐参数后调用 UIEditorCommandDispatcher::SetHostCommandHandler(...)。
|
||||
(void)object;
|
||||
}
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [返回类总览](UIEditorCommandDispatcher.md)
|
||||
- [返回模块目录](../Foundation.md)
|
||||
Reference in New Issue
Block a user