When you add() and entity to the renderer, it becomes visible; and it stays visible until you remove() it.
To access the renderer use CEngine.
Public Methods | |
| CEntityRenderer (int maxEntities, CCamera const &camera, float const &alpha) | |
| Constructor. | |
| int | getMaxEntities () const |
| Returns maximum number of entities allowed. | |
| int | getEntityCount () const |
| Returns current entity count. | |
| void | add (CEntity &entity) |
| Adds entity for rendering. | |
| void | remove (CEntity &entity) |
| Removes entity from rendering. | |
|
||||||||||||||||
|
Constructor.
|
1.2.17