Class ModelTransformSampler
java.lang.Object
zombie.util.PooledObject
zombie.core.skinnedmodel.animation.ModelTransformSampler
- All Implemented Interfaces:
AnimTrackSampler
,IPooledObject
public class ModelTransformSampler extends PooledObject implements AnimTrackSampler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelTransformSampler.L_updateBoneAnimationTransform
-
Constructor Summary
Constructors Constructor Description ModelTransformSampler()
-
Method Summary
Modifier and Type Method Description static ModelTransformSampler
alloc(AnimationPlayer animationPlayer, AnimationTrack animationTrack)
void
getBoneMatrix(int int1, org.lwjgl.util.vector.Matrix4f matrix4f)
float
getCurrentTime()
int
getNumBones()
float
getTotalTime()
boolean
isLooped()
void
moveToTime(float float1)
void
onReleased()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ModelTransformSampler
public ModelTransformSampler()
-
-
Method Details
-
alloc
public static ModelTransformSampler alloc(AnimationPlayer animationPlayer, AnimationTrack animationTrack) -
onReleased
public void onReleased()- Specified by:
onReleased
in interfaceIPooledObject
-
getTotalTime
public float getTotalTime()- Specified by:
getTotalTime
in interfaceAnimTrackSampler
-
isLooped
public boolean isLooped()- Specified by:
isLooped
in interfaceAnimTrackSampler
-
moveToTime
public void moveToTime(float float1)- Specified by:
moveToTime
in interfaceAnimTrackSampler
-
getCurrentTime
public float getCurrentTime()- Specified by:
getCurrentTime
in interfaceAnimTrackSampler
-
getBoneMatrix
public void getBoneMatrix(int int1, org.lwjgl.util.vector.Matrix4f matrix4f)- Specified by:
getBoneMatrix
in interfaceAnimTrackSampler
-
getNumBones
public int getNumBones()- Specified by:
getNumBones
in interfaceAnimTrackSampler
-