Package com.hbm_m.client.loader.dae
Class DaeModel
java.lang.Object
com.hbm_m.client.loader.dae.DaeModel
A COLLADA (.dae) model parsed from a resource: geometry, the visual scene node tree,
material -> texture resolution and animation clips. Static data only; the vertex
buffers are baked by
DaeModelRenderer. Parsing is deliberately lenient since
the files are hand made for the mod.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Collection<DaeModel>All parsed models, so the reload listener can re-bake them.final Map<String,DaeAnimation> final net.minecraft.resources.ResourceLocationfloat -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
resource
public final net.minecraft.resources.ResourceLocation resource -
sceneRoots
-
meshes
-
textures
-
animations
-
scale
public float scale -
allModels
All parsed models, so the reload listener can re-bake them.
-
-
Constructor Details
-
DaeModel
-
DaeModel
public DaeModel(net.minecraft.resources.ResourceLocation resource)
-
-
Method Details
-
load
-
reload
public void reload() -
clear
public void clear() -
computeNormals
Computes smooth normals for meshes that lack normal data. -
getTexture
public net.minecraft.resources.ResourceLocation getTexture()
-