List of all members.
Detailed Description
Draws a 2D box.
Set2D() vs. Set3D(): -------------------- HudBox is a 2D box. But it can be defined in terms of either 2D or 3D. Set3D() is for enclosing a 3D object in world space. It computes a 2D rectangle in terms of a 3D position and 2D width,height.
Member Typedef Documentation
Constructor & Destructor Documentation
| hud::HudBox::HudBox |
( |
const Rect< int > & |
rect = Rect<int>(), |
|
|
const RGBA |
color = RGBA() | |
|
) |
| | |
Member Function Documentation
| void hud::HudBox::Set2D |
( |
const Rect< int > & |
rect |
) |
|
| void hud::HudBox::Set3D |
( |
const WorldVertex & |
pos3, |
|
|
const uint |
width2, |
|
|
const uint |
height2 | |
|
) |
| | |
| void hud::HudBox::SetColor |
( |
const RGBA |
color |
) |
[inline] |
| void hud::HudBox::SetDrawX |
( |
const bool |
drawX |
) |
[inline] |
| virtual void hud::HudBox::Update |
( |
View & |
view |
) |
[private, virtual] |
Friends And Related Function Documentation
friend class Hud [friend] |
Member Data Documentation
optional definition in terms of 3D world space
draw X over box (to indicate radar-lock)
The documentation for this class was generated from the following files: