![]() |
Public API Reference |
#include <light.h>
Inheritance diagram for iLightCallback:
Public Methods | |
virtual void | OnColorChange (iLight *light, const csColor &newcolor)=0 |
Light color will be changed. More... | |
virtual void | OnPositionChange (iLight *light, const csVector3 &newpos)=0 |
Light position will be changed. More... | |
virtual void | OnSectorChange (iLight *light, iSector *newsector)=0 |
Sector will be changed. More... | |
virtual void | OnRadiusChange (iLight *light, float newradius)=0 |
Radius will be changed. More... | |
virtual void | OnDestroy (iLight *light)=0 |
Light will be destroyed. More... |
The given context will be either an instance of iRenderView, iFrustumView, or else 0.
Definition at line 94 of file iengine/light.h.
|
Light color will be changed. It is safe to delete this callback in this function. |
|
Light will be destroyed. It is safe to delete this callback in this function. |
|
Light position will be changed. It is safe to delete this callback in this function. |
|
Radius will be changed. It is safe to delete this callback in this function. |
|
Sector will be changed. It is safe to delete this callback in this function. |