|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents a list of materials.
Method Summary | |
int |
add(iMaterialWrapper obj)
Add a material |
int |
find(iMaterialWrapper obj)
Find a material and return its index |
iMaterialWrapper |
findByName(java.lang.String Name)
Find a material by name |
iMaterialWrapper |
get(int n)
Return a material by index |
int |
getCount()
Return the number of materials in this list |
iMaterialWrapper |
newMaterial(iMaterial material)
Create a new material |
iMaterialWrapper |
newMaterial(iMaterialHandle ith)
Create a engine wrapper for a pre-prepared iTextureHandle The handle will be IncRefed |
boolean |
remove(iMaterialWrapper obj)
Remove a material |
boolean |
remove(int n)
Remove the nth material |
void |
removeAll()
Remove all materials |
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 int add(iMaterialWrapper obj)
obj
-
public int find(iMaterialWrapper obj)
obj
-
public iMaterialWrapper findByName(java.lang.String Name)
Name
-
public iMaterialWrapper get(int n)
n
-
public int getCount()
public iMaterialWrapper newMaterial(iMaterialHandle ith)
ith
-
public iMaterialWrapper newMaterial(iMaterial material)
material
-
public boolean remove(int n)
n
-
public boolean remove(iMaterialWrapper obj)
obj
-
public void removeAll()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |