public static class OBJModel.Face
extends java.lang.Object
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) |
java.lang.String |
getMaterialName() |
OBJModel.Normal |
getNormal() |
OBJModel.Vertex[] |
getVertices() |
boolean |
isTriangles() |
void |
setMaterialName(java.lang.String materialName) |
boolean |
setVertices(OBJModel.Vertex[] verts) |
public Face(OBJModel.Vertex[] verts)
public Face(OBJModel.Vertex[] verts, java.lang.String materialName)
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()