![]() |
Public API Reference |
#include <light.h>
Inheritance diagram for iLightingProcessInfo:
Public Methods | |
virtual iLight * | GetLight () const=0 |
Get the light. More... | |
virtual bool | IsDynamic () const=0 |
Return true if dynamic. More... | |
virtual void | SetColor (const csColor &col)=0 |
Set the current color. More... | |
virtual const csColor & | GetColor () const=0 |
Get the current color. More... | |
virtual void | AttachUserdata (iLightingProcessData *userdata)=0 |
Attach some userdata to the process info. More... | |
virtual csPtr< iLightingProcessData > | QueryUserdata (scfInterfaceID id, int version)=0 |
Query for userdata based on SCF type. More... | |
virtual void | FinalizeLighting ()=0 |
Finalize lighting. More... |
You can query the userdata from iFrustumView for this interface while in a 'portal' callback. This way you can get specific information from the lighting system for your null-portal.
Definition at line 350 of file iengine/light.h.
|
Attach some userdata to the process info. You can later query for this by doing QueryUserdata() with the correct SCF version number. Implemented in csLightingProcessInfo. |
|
Finalize lighting. This function is called by the lighting routines after performing CheckFrustum(). It will call FinalizeLighting() on all user datas. Implemented in csLightingProcessInfo. |
|
Get the current color.
Implemented in csLightingProcessInfo. |
|
Get the light.
Implemented in csLightingProcessInfo. |
|
Return true if dynamic.
Implemented in csLightingProcessInfo. |
|
Query for userdata based on SCF type.
Implemented in csLightingProcessInfo. |
|
Set the current color.
Implemented in csLightingProcessInfo. |