public static final class B3DLoader.B3DState extends java.lang.Object implements IModelTransform
コンストラクタと説明 |
---|
B3DState(B3DModel.Animation animation,
int frame) |
B3DState(B3DModel.Animation animation,
int frame,
IModelTransform parent) |
B3DState(B3DModel.Animation animation,
int frame,
int nextFrame,
float progress) |
B3DState(B3DModel.Animation animation,
int frame,
int nextFrame,
float progress,
IModelTransform parent) |
修飾子とタイプ | メソッドと説明 |
---|---|
B3DModel.Animation |
getAnimation() |
int |
getFrame() |
int |
getNextFrame() |
static TransformationMatrix |
getNodeMatrix(B3DModel.Animation animation,
B3DModel.Node<?> node,
int frame) |
TransformationMatrix |
getNodeMatrix(B3DModel.Node<?> node) |
TransformationMatrix |
getNodeMatrix(B3DModel.Node<?> node,
int frame) |
IModelTransform |
getParent() |
TransformationMatrix |
getPartTransformation(java.lang.Object part) |
float |
getProgress() |
TransformationMatrix |
getRotation() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isUvLock
public B3DState(@Nullable B3DModel.Animation animation, int frame)
public B3DState(@Nullable B3DModel.Animation animation, int frame, IModelTransform parent)
public B3DState(@Nullable B3DModel.Animation animation, int frame, int nextFrame, float progress)
public B3DState(@Nullable B3DModel.Animation animation, int frame, int nextFrame, float progress, @Nullable IModelTransform parent)
@Nullable public B3DModel.Animation getAnimation()
public int getFrame()
public int getNextFrame()
public float getProgress()
@Nullable public IModelTransform getParent()
public TransformationMatrix getRotation()
getRotation
インタフェース内 IModelTransform
public TransformationMatrix getPartTransformation(java.lang.Object part)
getPartTransformation
インタフェース内 IForgeModelTransform
part
- Part of the model we are wanting to transform. An empty optional means
we want a transform for the entire model.public TransformationMatrix getNodeMatrix(B3DModel.Node<?> node)
public TransformationMatrix getNodeMatrix(B3DModel.Node<?> node, int frame)
public static TransformationMatrix getNodeMatrix(@Nullable B3DModel.Animation animation, B3DModel.Node<?> node, int frame)