public class SmdAnimation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
animationName |
java.util.ArrayList<Bone> |
bones |
int |
currentFrameIndex |
java.util.ArrayList<AnimFrame> |
frames |
int |
lastFrameIndex |
ValveStudioModel |
owner |
int |
totalFrames |
Constructor and Description |
---|
SmdAnimation(SmdAnimation anim,
ValveStudioModel owner) |
SmdAnimation(ValveStudioModel owner,
java.lang.String animationName,
net.minecraft.util.ResourceLocation resloc) |
Modifier and Type | Method and Description |
---|---|
int |
getNumFrames() |
void |
precalculateAnimation(SmdModel model) |
void |
reform() |
int |
requestFrameID() |
void |
setCurrentFrame(int i) |
public final ValveStudioModel owner
public java.util.ArrayList<AnimFrame> frames
public java.util.ArrayList<Bone> bones
public int currentFrameIndex
public int lastFrameIndex
public int totalFrames
public java.lang.String animationName
public SmdAnimation(ValveStudioModel owner, java.lang.String animationName, net.minecraft.util.ResourceLocation resloc) throws GabeNewellException
GabeNewellException
public SmdAnimation(SmdAnimation anim, ValveStudioModel owner)
public int requestFrameID()
public void reform()
public void precalculateAnimation(SmdModel model)
public int getNumFrames()
public void setCurrentFrame(int i)