diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java index f90ce624f..4586c804b 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java @@ -1181,8 +1181,10 @@ public class AnimationState { *

* When using {@link AnimationState#addAnimation(int, Animation, boolean, float)} with a delay <= 0, the * {@link #getDelay()} is set using the mix duration from the {@link AnimationStateData}. If mixDuration is set - * afterward, the delay may need to be adjusted. For example: - * entry.delay = entry.previous.getTrackComplete() - entry.mixDuration; */ + * afterward, the delay may need to be adjusted. For example:
+ * entry.delay = entry.previous.getTrackComplete() - entry.mixDuration;
+ * Alternatively, {@link #setMixDuration(float, float)} can be used to recompute the delay:
+ * entry.setMixDuration(0.25f, 0); */ public float getMixDuration () { return mixDuration; }