注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
Unigine::InputEventText Class
Header: | #include <UnigineInput.h> |
Inherits from: | InputEvent |
InputEventText Class
Members
InputEventText ( ) #
Default constructor.InputEventText ( unsigned long long timestamp, const Math::ivec2 & mouse_pos ) #
Text input event constructor.Arguments
- unsigned long long timestamp - Timestamp of the event.
- const Math::ivec2 & mouse_pos - Position of the mouse.
InputEventText ( unsigned long long timestamp, const Math::ivec2 & mouse_pos, unsigned int unicode ) #
Text input event constructor.Arguments
- unsigned long long timestamp - Timestamp of the event.
- const Math::ivec2 & mouse_pos - Position of the mouse.
- unsigned int unicode - Unicode symbol.
void setUnicode ( unsigned int unicode ) #
Sets the input symbol.Arguments
- unsigned int unicode - Unicode symbol.
unsigned int getUnicode ( ) const#
Returns the input symbol.Return value
Unicode symbol.The information on this page is valid for UNIGINE 2.18.1 SDK.
Last update:
2024-04-19
Help improve this article
(or select a word/phrase and press Ctrl+Enter)