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 classModelTransformSampler.L_updateBoneAnimationTransform -
Constructor Summary
Constructors Constructor Description ModelTransformSampler() -
Method Summary
Modifier and Type Method Description static ModelTransformSampleralloc(AnimationPlayer animationPlayer, AnimationTrack animationTrack)voidgetBoneMatrix(int int1, org.lwjgl.util.vector.Matrix4f matrix4f)floatgetCurrentTime()intgetNumBones()floatgetTotalTime()booleanisLooped()voidmoveToTime(float float1)voidonReleased()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:
onReleasedin interfaceIPooledObject
-
getTotalTime
public float getTotalTime()- Specified by:
getTotalTimein interfaceAnimTrackSampler
-
isLooped
public boolean isLooped()- Specified by:
isLoopedin interfaceAnimTrackSampler
-
moveToTime
public void moveToTime(float float1)- Specified by:
moveToTimein interfaceAnimTrackSampler
-
getCurrentTime
public float getCurrentTime()- Specified by:
getCurrentTimein interfaceAnimTrackSampler
-
getBoneMatrix
public void getBoneMatrix(int int1, org.lwjgl.util.vector.Matrix4f matrix4f)- Specified by:
getBoneMatrixin interfaceAnimTrackSampler
-
getNumBones
public int getNumBones()- Specified by:
getNumBonesin interfaceAnimTrackSampler
-