Renders billboards (aka sprites, or screen-aligned textured quads). The only methods you should be interested in are beginBillboards(), endBillboards() and all the put???Bill(). The rest is handled by the engine.
All the put???Bill() methods should be called between beginBillboards() and endBillboards().
Public Methods | |
| void | beginBillboards () |
| Begins billboards. | |
| void | putWorldBill (const CResourceId &tex, D3DCOLOR color, const D3DXVECTOR3 &pos, float width, float height) |
| Puts world space billboard. | |
| void | putEntityBill (const CResourceId &tex, D3DCOLOR color, const CEntity &entity, float width, float height) |
| Puts billboard above given entity. | |
| void | putScreenBill (const CResourceId &tex, D3DCOLOR color, float x1, float y1, float x2, float y2) |
| Puts screen space billboard. | |
| void | endBillboards () |
| Ends billboards. | |
|
||||||||||||||||||||||||
|
Puts billboard above given entity.
|
|
||||||||||||||||||||||||||||
|
Puts screen space billboard. The billboard occupies given portion of the screen, no matter what texture size is.
|
|
||||||||||||||||||||||||
|
Puts world space billboard.
|
1.2.17