com.jme.scene.geometryinstancing.instance
Class GeometryBatchCreator
java.lang.Object
com.jme.scene.geometryinstancing.instance.GeometryBatchCreator
public class GeometryBatchCreator
- extends java.lang.Object
GeometryBatchCreator
is a container class for
GeometryInstances
.
- Author:
- Patrik Lindegrén
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instances
protected java.util.ArrayList<GeometryInstance> instances
GeometryBatchCreator
public GeometryBatchCreator()
clearInstances
public void clearInstances()
addInstance
public void addInstance(GeometryInstance geometryInstance)
removeInstance
public void removeInstance(GeometryInstance geometryInstance)
getNumVertices
public int getNumVertices()
getNumIndices
public int getNumIndices()
getInstances
public java.util.ArrayList<GeometryInstance> getInstances()
commit
public void commit(TriMesh batch)