Class ObjModel.ModelMesh
java.lang.Object
net.minecraftforge.client.model.obj.ObjModel.ModelMesh
- Enclosing class:
ObjModel
-
Field Summary
-
Constructor Summary
ConstructorDescriptionModelMesh
(ObjMaterialLibrary.Material currentMat, @Nullable String currentSmoothingGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) void
bake
(CompositeRenderable.PartBuilder<?> builder, IGeometryBakingContext configuration)
-
Field Details
-
mat
-
smoothingGroup
-
faces
-
-
Constructor Details
-
ModelMesh
public ModelMesh(@Nullable ObjMaterialLibrary.Material currentMat, @Nullable @Nullable String currentSmoothingGroup)
-
-
Method Details
-
addQuads
public void addQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) -
bake
-