public static class OBJModel.Face
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
isTri |
private java.lang.String |
materialName |
private OBJModel.Vertex[] |
verts |
Constructor and Description |
---|
Face(OBJModel.Vertex[] verts) |
Face(OBJModel.Vertex[] verts,
java.lang.String materialName) |
Modifier and Type | Method and Description |
---|---|
OBJModel.Face |
bake(TRSRTransformation transform) |
private void |
checkData() |
java.lang.String |
getMaterialName() |
OBJModel.Normal |
getNormal() |
OBJModel.Vertex[] |
getVertices() |
boolean |
isTriangles() |
void |
setMaterialName(java.lang.String materialName) |
boolean |
setVertices(OBJModel.Vertex[] verts) |
private OBJModel.Vertex[] verts
private java.lang.String materialName
private boolean isTri
public Face(OBJModel.Vertex[] verts)
public Face(OBJModel.Vertex[] verts, java.lang.String materialName)
private void checkData()
public void setMaterialName(java.lang.String materialName)
public java.lang.String getMaterialName()
public boolean isTriangles()
public boolean setVertices(OBJModel.Vertex[] verts)
public OBJModel.Vertex[] getVertices()
public OBJModel.Face bake(TRSRTransformation transform)
public OBJModel.Normal getNormal()