public class CustomModel extends Model
| Modifier and Type | Field and Description |
|---|---|
java.util.function.Consumer<CustomModel> |
render |
blendDFactor, blendSFactor, matrix, name| Constructor and Description |
|---|
CustomModel(java.util.function.Consumer<CustomModel> render) |
CustomModel(java.lang.String name,
java.util.function.Consumer<CustomModel> render) |
| Modifier and Type | Method and Description |
|---|---|
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 CustomModel |
newModel(java.lang.String name) |
clone, combineChildren, combineChildren, flatten, toStringaddChild, children, descendants, exists, getParent, hierarchy, iterator, removeChild, setParent, spliterator, streampublic final java.util.function.Consumer<CustomModel> render
public CustomModel(java.lang.String name,
java.util.function.Consumer<CustomModel> render)
public CustomModel(java.util.function.Consumer<CustomModel> render)
protected CustomModel newModel(java.lang.String name)
public java.util.Set<Model> flatten(MatrixStack matrixStack)
Model