|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface gives the context for the loader. It basically gives loading plugins a way to find materials, meshes, and sectors. In all these cases region-qualified names can be used (i.e. 'regionname/objectname') or normal object names. WARNING! When a context is created it should not be modified afterwards. Some loader plugins will keep a reference to the context when they support delayed loading. In that case they still need the original contents in the context. So a loader that creates a context should create a new one every time.
Method Summary | |
boolean |
checkDupes()
Return true if we check for dupes (to avoid objects with same name being loaded again. |
boolean |
currentRegionOnly()
Return true if we only want to look for objects in the region given by GetRegion();. |
iLight |
findLight(java.lang.String name)
Find a light. |
iMaterialWrapper |
findMaterial(java.lang.String name)
Find a material. |
iMeshFactoryWrapper |
findMeshFactory(java.lang.String name)
Find a mesh factory. |
iMeshWrapper |
findMeshObject(java.lang.String name)
Find a mesh object. |
iSector |
findSector(java.lang.String name)
Find a sector. |
iTextureWrapper |
findTexture(java.lang.String name)
Find a texture. |
iRegion |
getRegion()
Return a region if we only want to load in that region. 0 otherwise. |
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 boolean checkDupes()
public boolean currentRegionOnly()
public iLight findLight(java.lang.String name)
name
-
public iMaterialWrapper findMaterial(java.lang.String name)
name
-
public iMeshFactoryWrapper findMeshFactory(java.lang.String name)
name
-
public iMeshWrapper findMeshObject(java.lang.String name)
name
-
public iSector findSector(java.lang.String name)
name
-
public iTextureWrapper findTexture(java.lang.String name)
name
-
public iRegion getRegion()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |