docs: add xceditor api tree and new resource docs

This commit is contained in:
2026-04-10 17:10:42 +08:00
parent 6b90c2f6c3
commit 66ae9ec919
189 changed files with 6613 additions and 30 deletions

View File

@@ -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)