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
ModelFormatException
public void renderAll()
renderAll
in interface IModelCustom
public void renderOnly(String... groupNames)
public void renderPart(String partName)
renderPart
in interface IModelCustom
public void renderAllExcept(String... excludedGroupNames)
public String getType()
getType
in interface IModelCustom