Class B3DModel.Mesh
java.lang.Object
net.minecraftforge.client.model.b3d.B3DModel.Mesh
- All Implemented Interfaces:
B3DModel.IKind<B3DModel.Mesh>
- Enclosing class:
- B3DModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate Set<B3DModel.Node<B3DModel.Bone>>
private B3DModel.Brush
private com.google.common.collect.ImmutableList<B3DModel.Face>
private B3DModel.Node<B3DModel.Mesh>
private com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<Float,B3DModel.Node<B3DModel.Bone>>>
-
Constructor Summary
ConstructorDescriptionMesh(org.apache.commons.lang3.tuple.Pair<B3DModel.Brush,List<B3DModel.Face>> data)
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<B3DModel.Face>
bake(Function<B3DModel.Node<?>,Matrix4f> animator)
com.google.common.collect.ImmutableSet<B3DModel.Node<B3DModel.Bone>>
getBones()
getBrush()
com.google.common.collect.ImmutableList<B3DModel.Face>
getFaces()
com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<Float,B3DModel.Node<B3DModel.Bone>>>
void
setParent(B3DModel.Node<B3DModel.Mesh> parent)
toString()
-
Field Details
-
parent
-
brush
-
faces
-
bones
-
weightMap
private com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<Float,B3DModel.Node<B3DModel.Bone>>> weightMap
-
-
Constructor Details
-
Mesh
-
-
Method Details
-
getWeightMap
public com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<Float,B3DModel.Node<B3DModel.Bone>>> getWeightMap() -
bake
public com.google.common.collect.ImmutableList<B3DModel.Face> bake(Function<B3DModel.Node<?>,Matrix4f> animator) -
getBrush
-
getFaces
-
getBones
-
toString
-
setParent
- Specified by:
setParent
in interfaceB3DModel.IKind<B3DModel.Mesh>
-
getParent
- Specified by:
getParent
in interfaceB3DModel.IKind<B3DModel.Mesh>
-