Utility class that helps in converting various types of co-ordinate between absolute screen positions and positions offset from the top-left corner of a given Window object.
More...
|
static float | windowToScreenX (const Window &window, const UDim &x) |
| Convert a window co-ordinate value, specified as a UDim, to a screen relative pixel co-ordinate. More...
|
|
static float | windowToScreenX (const Window &window, const float x) |
| Convert a window pixel co-ordinate value, specified as a float, to a screen pixel co-ordinate. More...
|
|
static float | windowToScreenY (const Window &window, const UDim &y) |
| Convert a window co-ordinate value, specified as a UDim, to a screen relative pixel co-ordinate. More...
|
|
static float | windowToScreenY (const Window &window, const float y) |
| Convert a window pixel co-ordinate value, specified as a float, to a screen pixel co-ordinate. More...
|
|
static Vector2 | windowToScreen (const Window &window, const UVector2 &vec) |
| Convert a window co-ordinate point, specified as a UVector2, to a screen relative pixel co-ordinate point. More...
|
|
static Vector2 | windowToScreen (const Window &window, const Vector2 &vec) |
| Convert a window pixel co-ordinate point, specified as a Vector2, to a screen pixel co-ordinate point. More...
|
|
static Rect | windowToScreen (const Window &window, const URect &rect) |
| Convert a window area, specified as a URect, to a screen area. More...
|
|
static Rect | windowToScreen (const Window &window, const Rect &rect) |
| Convert a pixel window area, specified as a Rect, to a screen area. More...
|
|
static float | screenToWindowX (const Window &window, const UDim &x) |
| Convert a screen relative UDim co-ordinate value to a window co-ordinate value, specified in pixels. More...
|
|
static float | screenToWindowX (const Window &window, const float x) |
| Convert a screen pixel co-ordinate value to a window co-ordinate value, specified in pixels. More...
|
|
static float | screenToWindowY (const Window &window, const UDim &y) |
| Convert a screen relative UDim co-ordinate value to a window co-ordinate value, specified in pixels. More...
|
|
static float | screenToWindowY (const Window &window, const float y) |
| Convert a screen pixel co-ordinate value to a window co-ordinate value, specified in pixels. More...
|
|
static Vector2 | screenToWindow (const Window &window, const UVector2 &vec) |
| Convert a screen relative UVector2 point to a window co-ordinate point, specified in pixels. More...
|
|
static Vector2 | screenToWindow (const Window &window, const Vector2 &vec) |
| Convert a screen Vector2 pixel point to a window co-ordinate point, specified in pixels. More...
|
|
static Rect | screenToWindow (const Window &window, const URect &rect) |
| Convert a URect screen area to a window area, specified in pixels. More...
|
|
static Rect | screenToWindow (const Window &window, const Rect &rect) |
| Convert a Rect screen pixel area to a window area, specified in pixels. More...
|
|
Utility class that helps in converting various types of co-ordinate between absolute screen positions and positions offset from the top-left corner of a given Window object.