dao::world::ScreenPoint
struct
A point in the world as drawn on the screen, in pixels from the top left of the game’s view (the window’s client area).
Declared in dao/World.h.
Fields
| Field | Type | |
|---|---|---|
around |
std::int32_t = 0 |
Set by AimAt only: how many of the eight pixels 10 pixels away also hit the object first. 8 means well inside it; a low count means its edge. |
inFront |
bool = false |
true if in front of the camera; if not, x and y are meaningless |
inView |
bool = false |
true if the point is in front of the camera and inside the view |
x |
float = 0 |
|
y |
float = 0 |