|
|||||||||||
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.engine.region.csRegion
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csRegion(iPointer nPointer)
|
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. |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
boolean |
isInRegion(iObject obj)
Check if some object is in this region. |
protected boolean |
isNativePointerValidSafe(long pointer)
|
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 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 csRegion(iPointer nPointer)
nPointer
- Method Detail |
public int getVersion()
iBase
getVersion
in interface iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public void add(iObject obj)
iRegion
add
in interface iRegion
obj
- iRegion.add(crystalspace.jbind.interfaces.iutil.object.iObject)
public void clear()
iRegion
clear
in interface iRegion
iRegion.clear()
public void deleteAll()
iRegion
deleteAll
in interface iRegion
iRegion.deleteAll()
public iCameraPosition findCameraPosition(java.lang.String iName)
iRegion
findCameraPosition
in interface iRegion
iRegion.findCameraPosition(java.lang.String)
public iCollection findCollection(java.lang.String iName)
iRegion
findCollection
in interface iRegion
iName
-
iRegion.findCollection(java.lang.String)
public iMaterialWrapper findMaterial(java.lang.String iName)
iRegion
findMaterial
in interface iRegion
iName
-
iRegion.findMaterial(java.lang.String)
public iMeshFactoryWrapper findMeshFactory(java.lang.String iName)
iRegion
findMeshFactory
in interface iRegion
iName
-
iRegion.findMeshFactory(java.lang.String)
public iMeshWrapper findMeshObject(java.lang.String iName)
iRegion
findMeshObject
in interface iRegion
iName
-
iRegion.findMeshObject(java.lang.String)
public iSector findSector(java.lang.String iName)
iRegion
findSector
in interface iRegion
iName
-
iRegion.findSector(java.lang.String)
public iTextureWrapper findTexture(java.lang.String iName)
iRegion
findTexture
in interface iRegion
iName
-
iRegion.findTexture(java.lang.String)
public boolean isInRegion(iObject obj)
iRegion
isInRegion
in interface iRegion
obj
-
iRegion.isInRegion(crystalspace.jbind.interfaces.iutil.object.iObject)
public boolean prepare()
iRegion
prepare
in interface iRegion
iRegion.prepare()
public boolean prepareTextures()
iRegion
prepareTextures
in interface iRegion
iRegion.prepareTextures()
public iObject queryObject()
iRegion
queryObject
in interface iRegion
iRegion.queryObject()
public boolean shineLights()
iRegion
shineLights
in interface iRegion
iRegion.shineLights()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |