|
VulkanEngine 0.1
Graphics engine using Vulkan
|
Class which can be used to get input from the mouse. More...
#include <MouseInput.h>
Public Member Functions | |
| MouseInput () | |
| Constructor. | |
| ~MouseInput () | |
| Destructor. | |
| Eigen::Vector2d | getPosition () |
| Eigen::Vector2d | getScrollOffset () |
| bool | leftButtonPressed () |
Friends | |
| class | Window |
Class which can be used to get input from the mouse.
| Eigen::Vector2d VulkanEngine::MouseInput::getPosition | ( | ) |
Get the current position of the mouse
| Eigen::Vector2d VulkanEngine::MouseInput::getScrollOffset | ( | ) |
Get the current scroll offset mouse
| bool VulkanEngine::MouseInput::leftButtonPressed | ( | ) |