Class ObjModel.ModelMesh
java.lang.Object
net.neoforged.neoforge.client.model.obj.ObjModel.ModelMesh
- Enclosing class:
ObjModel
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModelMesh
(ObjMaterialLibrary.Material currentMat, @Nullable String currentSmoothingGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addQuads
(SimpleBakedModel.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms transforms, ContextMap additionalProperties)
-
Field Details
-
mat
-
smoothingGroup
-
faces
-
-
Constructor Details
-
ModelMesh
public ModelMesh(@Nullable ObjMaterialLibrary.Material currentMat, @Nullable @Nullable String currentSmoothingGroup)
-
-
Method Details
-
addQuads
public void addQuads(SimpleBakedModel.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, boolean useAmbientOcclusion, boolean usesBlockLight, ItemTransforms transforms, ContextMap additionalProperties)
-