Class ModelTransformSampler
java.lang.Object
zombie.util.PooledObject
zombie.core.skinnedmodel.animation.ModelTransformSampler
- All Implemented Interfaces:
AnimTrackSampler,IPooledObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelTransformSampleralloc(AnimationPlayer animationPlayer, AnimationTrack animationTrack) voidgetBoneMatrix(int int1, org.lwjgl.util.vector.Matrix4f matrix4f) floatintfloatbooleanisLooped()voidmoveToTime(float float1) void
-
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
-