public static class B3DModel.Mesh extends java.lang.Object implements B3DModel.IKind<B3DModel.Mesh>
Constructor and Description |
---|
Mesh(org.apache.commons.lang3.tuple.Pair<B3DModel.Brush,java.util.List<B3DModel.Face>> data) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<B3DModel.Face> |
bake(com.google.common.base.Function<B3DModel.Node<?>,javax.vecmath.Matrix4f> animator) |
com.google.common.collect.ImmutableSet<B3DModel.Node<B3DModel.Bone>> |
getBones() |
B3DModel.Brush |
getBrush() |
com.google.common.collect.ImmutableList<B3DModel.Face> |
getFaces() |
B3DModel.Node<B3DModel.Mesh> |
getParent() |
com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<java.lang.Float,B3DModel.Node<B3DModel.Bone>>> |
getWeightMap() |
void |
setParent(B3DModel.Node<B3DModel.Mesh> parent) |
java.lang.String |
toString() |
public Mesh(org.apache.commons.lang3.tuple.Pair<B3DModel.Brush,java.util.List<B3DModel.Face>> data)
public com.google.common.collect.ImmutableMultimap<B3DModel.Vertex,org.apache.commons.lang3.tuple.Pair<java.lang.Float,B3DModel.Node<B3DModel.Bone>>> getWeightMap()
public com.google.common.collect.ImmutableList<B3DModel.Face> bake(com.google.common.base.Function<B3DModel.Node<?>,javax.vecmath.Matrix4f> animator)
public B3DModel.Brush getBrush()
public com.google.common.collect.ImmutableList<B3DModel.Face> getFaces()
public com.google.common.collect.ImmutableSet<B3DModel.Node<B3DModel.Bone>> getBones()
public java.lang.String toString()
toString
in class java.lang.Object
public void setParent(B3DModel.Node<B3DModel.Mesh> parent)
setParent
in interface B3DModel.IKind<B3DModel.Mesh>
public B3DModel.Node<B3DModel.Mesh> getParent()
getParent
in interface B3DModel.IKind<B3DModel.Mesh>