Class ObjModel
java.lang.Object
team.lodestar.lodestone.systems.model.obj.IndexedModel
team.lodestar.lodestone.systems.model.obj.ObjModel
- Direct Known Subclasses:
LevelOfDetail,MultiLODModel
An
IndexedModel that is parsed from an Wavefront OBJ file.-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class team.lodestar.lodestone.systems.model.obj.IndexedModel
bakedIndices, meshData, meshes, modelBuffer, modelId, modifiers, vertices -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class team.lodestar.lodestone.systems.model.obj.IndexedModel
applyModifiers, bakeIndices, cleanup, createMeshBuffer, drawMesh, getAssetLocation, getBakedIndices, getMeshes, getModelId, getVertices, render, render, renderInstanced, setMeshes
-
Constructor Details
-
ObjModel
public ObjModel(net.minecraft.resources.ResourceLocation modelId)
-
-
Method Details
-
loadModel
public void loadModel()- Specified by:
loadModelin classIndexedModel
-