Files
XCEngine/docs/api/XCEngine/Input/InputManager/OnTextInput.md

31 lines
705 B
Markdown
Raw Normal View History

2026-03-26 16:45:24 +08:00
# InputManager::OnTextInput
公开方法,详见头文件声明。
```cpp
Core::Event<const TextInputEvent&>& OnTextInput();
```
该方法声明于 `XCEngine/Input/InputManager.h`,当前页面用于固定 `InputManager` 类目录下的方法级 canonical 路径。
**参数:** 无。
**返回:** `Core::Event<const TextInputEvent&>&` - 返回值语义详见头文件声明。
**示例:**
```cpp
#include <XCEngine/Input/InputManager.h>
void Example() {
XCEngine::Input::InputManager object;
// 根据上下文补齐参数后调用 InputManager::OnTextInput(...)。
(void)object;
}
```
## 相关文档
- [返回类总览](InputManager.md)
- [返回模块目录](../Input.md)