Unigine::InputEvent Class
Header: | #include <UnigineInput.h> |
InputEvent Class
Enums
TYPE#
Members
InputEvent::TYPE getType ( ) const#
Returns the type of the input event.Return value
Type of the input event, one of the TYPE.INPUT_EVENT values.const char * getTypeName ( ) const#
Returns the name of the input event type.Return value
The name of the input event type.void setTimestamp ( unsigned int timestamp ) #
Sets the timestamp of the event.Arguments
- unsigned int timestamp - The timestamp of the event, in milliseconds.
unsigned int getTimestamp ( ) const#
Returns the timestamp of the event.Return value
The timestamp of the event, in milliseconds.void setMousePosition ( const Math::ivec2 & pos ) #
Sets the mouse position for the event.Arguments
- const Math::ivec2 & pos - The position of the mouse.
Math::ivec2 getMousePosition ( ) const#
Returns the mouse position for the event.Return value
The position of the mouse.unsigned long long getFrame ( ) const#
Returns the engine frame during which the event has been sent from proxy to Input.Return value
The engine frame during which the event has been sent from proxy to Input.Last update:
2024-03-25
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)