net.java.joglutils.ThreeDS
Class Model3DS
java.lang.Object
net.java.joglutils.ThreeDS.Model3DS
- Direct Known Subclasses:
- MyModel
public class Model3DS
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loader
protected Loader3DS loader
materials
protected Vector<Material> materials
objects
protected Vector<Obj> objects
Model3DS
public Model3DS()
load
public boolean load(String file)
addMaterial
public void addMaterial(Material mat)
addObject
public void addObject(Obj obj)
getMaterial
public Material getMaterial(int index)
getObject
public Obj getObject(int index)
getNumberOfObjects
public int getNumberOfObjects()
getNumberOfMaterials
public int getNumberOfMaterials()