|
QuadUI 1.2.9 public beta
Run-time API for QuadUI
|
Public Member Functions | |
| Point2D (int _x, int _y) | |
Static Public Member Functions | |
| static implicit | operator Point2D (Vector2 vec2) |
| static implicit | operator Vector2 (Point2D p2d) |
Public Attributes | |
| int | x |
| int | y |
This is a 2 dimenstional struct which unlike Vector2, only accepts int as its parameters. This is to provent the passing of fractional pixels. Implicitly casts to a Vector2.
Note: These structs are handled in the background of the framework and you will likely never have to use them at high-level.
| Point2D.Point2D | ( | int | _x, |
| int | _y | ||
| ) |
| static implicit Point2D.operator Point2D | ( | Vector2 | vec2 | ) | [static] |
| static implicit Point2D.operator Vector2 | ( | Point2D | p2d | ) | [static] |
| int Point2D.x |
| int Point2D.y |