| Modifier and Type | Field and Description |
|---|---|
java.util.Set<Face> |
faces
A list of all the faces to be drawn.
|
org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
textureOffset |
blendDFactor, blendSFactor, matrix, name| Constructor and Description |
|---|
MeshModel() |
MeshModel(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Texture texture)
Binds all the faces and all child models with this texture.
|
void |
bindAll(Texture texture)
Binds the texture to the model, and all its children.
|
MeshModel |
clone() |
void |
drawFace(Face Face)
Finish drawing the
Face by adding it into the list of faces. |
java.util.Set<Model> |
flatten(MatrixStack matrixStack)
Flattens the model into a set of models with no additional transformations,
applying all the transformations into the individual vertices.
|
protected MeshModel |
newModel(java.lang.String name) |
java.lang.String |
toString() |
combineChildren, combineChildren, flattenaddChild, children, descendants, exists, getParent, hierarchy, iterator, removeChild, setParent, spliterator, streampublic final java.util.Set<Face> faces
public org.apache.commons.math3.geometry.euclidean.twod.Vector2D textureOffset
public void bind(Texture texture)
texture - The texturepublic void bindAll(Texture texture)
texture - to be used to as for this model and sub-models.public void drawFace(Face Face)
Face by adding it into the list of faces.Face - - The finished masterpiece.public java.util.Set<Model> flatten(MatrixStack matrixStack)
Model