|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by mesh objects that have some kind of lighting system. It has features to initialize lighting, to read it from a cache, ...
Method Summary | |
csColor |
getDynamicAmbientLight()
Get dynamic ambient light. |
void |
initializeDefault(boolean clear)
Initialize the lighting information to some default (mostly black);. |
void |
lightChanged(iLight light)
Indicate that some light has changed. |
void |
lightDisconnect(iLight light)
Indicate that some light no longer affects this mesh. |
void |
prepareLighting()
Finally prepare the lighting for use. |
boolean |
readFromCache(iCacheManager cache_mgr)
Read the lighting information from the cache. |
void |
setDynamicAmbientLight(csColor color)
Sets dynamic ambient light for this object. |
boolean |
writeToCache(iCacheManager cache_mgr)
Write the lighting information to the cache. |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Method Detail |
public csColor getDynamicAmbientLight()
public void initializeDefault(boolean clear)
clear
- public void lightChanged(iLight light)
light
- public void lightDisconnect(iLight light)
light
- public void prepareLighting()
public boolean readFromCache(iCacheManager cache_mgr)
cache_mgr
-
public void setDynamicAmbientLight(csColor color)
color
- public boolean writeToCache(iCacheManager cache_mgr)
cache_mgr
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |