|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.mesh.lighting.csLightingInfo
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csLightingInfo(iPointer nPointer)
|
|
| Method Summary | |
csColor |
getDynamicAmbientLight()
Get dynamic ambient light. |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
void |
initializeDefault(boolean clear)
Initialize the lighting information to some default (mostly black);. |
protected boolean |
isNativePointerValidSafe(long pointer)
|
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 class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
| Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Constructor Detail |
public csLightingInfo(iPointer nPointer)
nPointer - | Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBaseiBase.getVersion()public java.lang.String getName()
iBase
getName in interface iBasegetName in class csBaseiBase.getName()protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe in class csNativeObjectcsNativeObject.isNativePointerValidSafe(long)public csColor getDynamicAmbientLight()
iLightingInfo
getDynamicAmbientLight in interface iLightingInfoiLightingInfo.getDynamicAmbientLight()public void initializeDefault(boolean clear)
iLightingInfo
initializeDefault in interface iLightingInfoclear - iLightingInfo.initializeDefault(boolean)public void lightChanged(iLight light)
iLightingInfo
lightChanged in interface iLightingInfolight - iLightingInfo.lightChanged(crystalspace.jbind.interfaces.iengine.light.iLight)public void lightDisconnect(iLight light)
iLightingInfo
lightDisconnect in interface iLightingInfolight - iLightingInfo.lightDisconnect(crystalspace.jbind.interfaces.iengine.light.iLight)public void prepareLighting()
iLightingInfo
prepareLighting in interface iLightingInfoiLightingInfo.prepareLighting()public boolean readFromCache(iCacheManager cache_mgr)
iLightingInfo
readFromCache in interface iLightingInfocache_mgr -
iLightingInfo.readFromCache(crystalspace.jbind.interfaces.iutil.cache.iCacheManager)public void setDynamicAmbientLight(csColor color)
iLightingInfo
setDynamicAmbientLight in interface iLightingInfocolor - iLightingInfo.setDynamicAmbientLight(crystalspace.jbind.impl.csutil.cscolor.csColor)public boolean writeToCache(iCacheManager cache_mgr)
iLightingInfo
writeToCache in interface iLightingInfocache_mgr -
iLightingInfo.writeToCache(crystalspace.jbind.interfaces.iutil.cache.iCacheManager)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||