类 KeyframeAnimations
java.lang.Object
net.minecraft.client.animation.KeyframeAnimations
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
animate
(HierarchicalModel<?> pModel, AnimationDefinition pAnimationDefinition, long pAccumulatedTime, float pScale, org.joml.Vector3f pAnimationVecCache) static org.joml.Vector3f
degreeVec
(float pXDegrees, float pYDegrees, float pZDegrees) private static float
getElapsedSeconds
(AnimationDefinition pAnimationDefinition, long pAccumulatedTime) static org.joml.Vector3f
posVec
(float pX, float pY, float pZ) static org.joml.Vector3f
scaleVec
(double pXScale, double pYScale, double pZScale)
-
构造器详细资料
-
KeyframeAnimations
public KeyframeAnimations()
-
-
方法详细资料
-
animate
public static void animate(HierarchicalModel<?> pModel, AnimationDefinition pAnimationDefinition, long pAccumulatedTime, float pScale, org.joml.Vector3f pAnimationVecCache) -
getElapsedSeconds
private static float getElapsedSeconds(AnimationDefinition pAnimationDefinition, long pAccumulatedTime) -
posVec
public static org.joml.Vector3f posVec(float pX, float pY, float pZ) -
degreeVec
public static org.joml.Vector3f degreeVec(float pXDegrees, float pYDegrees, float pZDegrees) -
scaleVec
public static org.joml.Vector3f scaleVec(double pXScale, double pYScale, double pZScale)
-