public static class B3DLoader.B3DState extends java.lang.Object implements IModelState
Constructor and Description |
---|
B3DLoader.B3DState(B3DModel.Animation animation,
int frame) |
Modifier and Type | Method and Description |
---|---|
TRSRTransformation |
apply(IModelPart part) |
B3DModel.Animation |
getAnimation() |
int |
getFrame() |
static TRSRTransformation |
getNodeMatrix(B3DModel.Animation animation,
B3DModel.Node<?> node,
int frame) |
TRSRTransformation |
getNodeMatrix(B3DModel.Node<?> node) |
public B3DLoader.B3DState(B3DModel.Animation animation, int frame)
public B3DModel.Animation getAnimation()
public int getFrame()
public TRSRTransformation apply(IModelPart part)
apply
in interface com.google.common.base.Function<IModelPart,TRSRTransformation>
apply
in interface IModelState
public TRSRTransformation getNodeMatrix(B3DModel.Node<?> node)
public static TRSRTransformation getNodeMatrix(B3DModel.Animation animation, B3DModel.Node<?> node, int frame)