crystalspace.jbind.interfaces.iengine.mesh
Interface iMeshList

All Superinterfaces:
iBase, iPointer
All Known Implementing Classes:
csMeshList

public interface iMeshList
extends iBase

A list of meshes.

Author:
Quentin Anciaux

Method Summary
 int add(iMeshWrapper obj)
          Add a mesh.
 int find(iMeshWrapper obj)
          Find a mesh and return its index.
 iMeshWrapper findByName(java.lang.String Name)
          Find a mesh by name.
 iMeshWrapper get(int n)
          Return a mesh by index.
 int getCount()
          Return the number of meshes in this list.
 boolean remove(iMeshWrapper obj)
          Remove a mesh.
 boolean remove(int n)
          Remove the nth mesh.
 void removeAll()
          Remove all meshes.
 
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

getCount

public int getCount()
Return the number of meshes in this list.

Returns:

get

public iMeshWrapper get(int n)
Return a mesh by index.

Parameters:
n -
Returns:

add

public int add(iMeshWrapper obj)
Add a mesh.

Parameters:
obj -
Returns:

remove

public boolean remove(iMeshWrapper obj)
Remove a mesh.

Parameters:
obj -
Returns:

remove

public boolean remove(int n)
Remove the nth mesh.

Parameters:
n -
Returns:

removeAll

public void removeAll()
Remove all meshes.


find

public int find(iMeshWrapper obj)
Find a mesh and return its index.

Parameters:
obj -
Returns:

findByName

public iMeshWrapper findByName(java.lang.String Name)
Find a mesh by name.

Parameters:
Name -
Returns: