Aether3D Game Engine
Public Attributes | List of all members
ae3d::WindowEvent Struct Reference

Window event is a key press, close event, mouse click etc. More...

#include <Window.hpp>

Public Attributes

WindowEventType type = WindowEventType::None
 Event type.
 
KeyCode keyCode = KeyCode::A
 Key code.
 
int mouseX = 0
 X coordinate in window. Origin: left.
 
int mouseY = 0
 Y coordinate in window. Origin: bottom.
 
float gamePadThumbX = 0
 Gamepad's thumb x in range [-1, 1]. Event type indicates left or right thumb.
 
float gamePadThumbY = 0
 Gamepad's thumb y in range [-1, 1]. Event type indicates left or right thumb.
 

Detailed Description

Window event is a key press, close event, mouse click etc.


The documentation for this struct was generated from the following file: