#include <ScreenGeometry.h>
Public Member Functions | |
| AZ_TYPE_INFO (ScreenVector, "{1EAA2C62-8FDB-4A28-9FE3-1FA4F1418894}") | |
| constexpr | ScreenVector (int x, int y) |
Public Attributes | |
| int | m_x |
| X screen delta. | |
| int | m_y |
| Y screen delta. | |
A wrapper around an X and Y screen vector. A ScreenVector only represents a movement (delta). ScreenVectors can be added to ScreenPoints to return a new ScreenPoint, and ScreenPoints can be subtracted from each other to give a ScreenVector, but two ScreenPoints cannot be added together.