![]() |
Public API Reference |
#include <light.h>
Inheritance diagram for iLightList:
Public Methods | |
virtual int | GetCount () const=0 |
Return the number of lights in this list. More... | |
virtual iLight * | Get (int n) const=0 |
Return a light by index. More... | |
virtual int | Add (iLight *obj)=0 |
Add a light. More... | |
virtual bool | Remove (iLight *obj)=0 |
Remove a light. More... | |
virtual bool | Remove (int n)=0 |
Remove the nth light. More... | |
virtual void | RemoveAll ()=0 |
Remove all lights. More... | |
virtual int | Find (iLight *obj) const=0 |
Find a light and return its index. More... | |
virtual iLight * | FindByName (const char *Name) const=0 |
Find a light by name. More... | |
virtual iLight * | FindByID (const char *id) const=0 |
Find a light by its ID value (16-byte MD5). More... |
Definition at line 296 of file iengine/light.h.
|
Add a light.
Implemented in csLightList. |
|
Find a light and return its index.
Implemented in csLightList. |
|
Find a light by its ID value (16-byte MD5).
Implemented in csLightList. |
|
Find a light by name.
Implemented in csLightList. |
|
Return a light by index.
Implemented in csLightList. |
|
Return the number of lights in this list.
Implemented in csLightList. |
|
Remove the nth light.
Implemented in csLightList. |
|
Remove a light.
Implemented in csLightList. |
|
Remove all lights.
Implemented in csLightList. |