Class ObjModel
java.lang.Object
team.lodestar.lodestone.systems.model.obj.IndexedModel
team.lodestar.lodestone.systems.model.obj.ObjModel
- All Implemented Interfaces:
IRenderableModel
- 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, earlyModifiers, meshData, meshes, modelBuffer, modelId, modifiers, vertices -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEarlyModifiers(ObjParser.Builder parsedModel) voidLoads the model data from its sourceMethods inherited from class team.lodestar.lodestone.systems.model.obj.IndexedModel
applyModifiers, bakeIndices, cleanup, createMesh, getBakedIndices, getMeshes, getModelBuffer, getModelLocation, getVertices, render, setMeshes, setModelBufferMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface team.lodestar.lodestone.systems.model.IRenderableModel
createMesh, createModelBuffer, render, renderInstanced
-
Constructor Details
-
ObjModel
public ObjModel(net.minecraft.resources.ResourceLocation modelId)
-
-
Method Details
-
loadModel
public void loadModel()Description copied from interface:IRenderableModelLoads the model data from its source -
applyEarlyModifiers
-