public class WavefrontObject extends Object implements IModelCustom
| Modifier and Type | Field and Description |
|---|---|
ArrayList<GroupObject> |
groupObjects |
ArrayList<TextureCoordinate> |
textureCoordinates |
ArrayList<Vertex> |
vertexNormals |
ArrayList<Vertex> |
vertices |
| Constructor and Description |
|---|
WavefrontObject(String fileName,
URL resource) |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
void |
renderAll() |
void |
renderAllExcept(String... excludedGroupNames) |
void |
renderOnly(String... groupNames) |
void |
renderPart(String partName) |
public ArrayList<TextureCoordinate> textureCoordinates
public ArrayList<GroupObject> groupObjects
public WavefrontObject(String fileName, URL resource) throws ModelFormatException
ModelFormatExceptionpublic void renderAll()
renderAll in interface IModelCustompublic void renderOnly(String... groupNames)
public void renderPart(String partName)
renderPart in interface IModelCustompublic void renderAllExcept(String... excludedGroupNames)
public String getType()
getType in interface IModelCustom