Unigine.WindowEvent Class
The class to process window events. It allows getting the type, time of creation, position, size and id of the window for which the event has been created.
WindowEvent Class
Enums
TYPE#
Properties
WindowEvent.TYPE Type#
The type of the window event, one of the TYPE values.
string TypeName#
The name of the window event.
ulong Timestamp#
The timestamp of the event, in milliseconds.
ulong WinID#
The identifier of the window.
ivec2 MousePosition#
The position of the mouse at the event creation.
ivec2 Position#
The position of the window at the event creation.
ivec2 Size#
The size of the window at the event creation.
EngineWindow Window#
The window for which the event has been created.
WindowEventGeneric Generic#
The window event cast to the generic event.
WindowEventDrop Drop#
The window event cast to the drop event.
Members
Last update:
2022-12-14
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)