iLightingProcessInfo Struct Reference
[Lighting]
The iLightingProcessInfo interface holds information for the lighting system.
More...
#include <light.h>
Inheritance diagram for iLightingProcessInfo:

Public Methods | |
virtual iLight * | GetLight () const=0 |
Get the light. | |
virtual bool | IsDynamic () const=0 |
Return true if dynamic. | |
virtual void | SetColor (const csColor &col)=0 |
Set the current color. | |
virtual const csColor & | GetColor () const=0 |
Get the current color. | |
virtual void | AttachUserdata (iLightingProcessData *userdata)=0 |
Attach some userdata to the process info. | |
virtual csPtr< iLightingProcessData > | QueryUserdata (scfInterfaceID id, int version)=0 |
Query for userdata based on SCF type. | |
virtual void | FinalizeLighting ()=0 |
Finalize lighting. |
Detailed Description
The iLightingProcessInfo interface holds information for the lighting system.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 397 of file light.h.
Member Function Documentation
|
Attach some userdata to the process info. You can later query for this by doing QueryUserdata() with the correct SCF version number. |
|
Finalize lighting. This function is called by the lighting routines after performing CheckFrustum(). It will call FinalizeLighting() on all user datas. |
|
Get the current color.
|
|
Get the light.
|
|
Return true if dynamic.
|
|
Query for userdata based on SCF type.
|
|
Set the current color.
|
The documentation for this struct was generated from the following file:
- iengine/light.h
Generated for Crystal Space by doxygen 1.2.18