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