|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A region. A region is basically a collection of objects in the 3D engine that can be treated as a unit.
Method Summary | |
void |
add(iObject obj)
Add an object to this region. |
void |
clear()
Clear this region without removing the entities in it. |
void |
deleteAll()
Delete all entities in this region. |
iCameraPosition |
findCameraPosition(java.lang.String iName)
Find a camera position in this region by name. |
iCollection |
findCollection(java.lang.String iName)
Find a collection in this region by name. |
iMaterialWrapper |
findMaterial(java.lang.String iName)
Find a material in this region by name. |
iMeshFactoryWrapper |
findMeshFactory(java.lang.String iName)
Find a mesh factory in this region by name. |
iMeshWrapper |
findMeshObject(java.lang.String iName)
Find a sprite in this region by name. |
iSector |
findSector(java.lang.String iName)
Find a sector in this region by name. |
iTextureWrapper |
findTexture(java.lang.String iName)
Find a texture in this region by name. |
boolean |
isInRegion(iObject obj)
Check if some object is in this region. |
boolean |
prepare()
Prepare all objects in this region. |
boolean |
prepareTextures()
Prepare all textures and materials in this region. |
iObject |
queryObject()
Get the iObject for this region. |
boolean |
shineLights()
Do lighting calculations (or read from 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 void add(iObject obj)
obj
- public void clear()
public void deleteAll()
public iCameraPosition findCameraPosition(java.lang.String iName)
public iCollection findCollection(java.lang.String iName)
iName
-
public iMaterialWrapper findMaterial(java.lang.String iName)
iName
-
public iMeshFactoryWrapper findMeshFactory(java.lang.String iName)
iName
-
public iMeshWrapper findMeshObject(java.lang.String iName)
iName
-
public iSector findSector(java.lang.String iName)
iName
-
public iTextureWrapper findTexture(java.lang.String iName)
iName
-
public boolean isInRegion(iObject obj)
obj
-
public boolean prepare()
public boolean prepareTextures()
public iObject queryObject()
public boolean shineLights()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |