Javadocs.

This commit is contained in:
Nathan Sweet 2020-08-07 16:09:06 +02:00
parent e429c045aa
commit 4aa54636f2
2 changed files with 5 additions and 4 deletions

View File

@ -1410,7 +1410,8 @@ public class Animation {
/** Sets the time, mix, softness, bend direction, compress, and stretch for the specified frame. /** Sets the time, mix, softness, bend direction, compress, and stretch for the specified frame.
* @param frame Between 0 and <code>frameCount</code>, inclusive. * @param frame Between 0 and <code>frameCount</code>, inclusive.
* @param time The frame time in seconds. */ * @param time The frame time in seconds.
* @param bendDirection 1 or -1. */
public void setFrame (int frame, float time, float mix, float softness, int bendDirection, boolean compress, public void setFrame (int frame, float time, float mix, float softness, int bendDirection, boolean compress,
boolean stretch) { boolean stretch) {
frame *= ENTRIES; frame *= ENTRIES;

View File

@ -1151,9 +1151,9 @@ public class AnimationState {
this.mixDuration = mixDuration; this.mixDuration = mixDuration;
} }
/** Controls how properties keyed in the animation are mixed with lower tracks. Defaults to {@link MixBlend#replace}, which /** Controls how properties keyed in the animation are mixed with lower tracks. Defaults to {@link MixBlend#replace}.
* replaces the values from the lower tracks with the animation values. {@link MixBlend#add} adds the animation values to * <p>
* the values from the lower tracks. * Track entries on track 0 ignore this setting and always use {@link MixBlend#first}.
* <p> * <p>
* The <code>mixBlend</code> can be set for a new track entry only before {@link AnimationState#apply(Skeleton)} is first * The <code>mixBlend</code> can be set for a new track entry only before {@link AnimationState#apply(Skeleton)} is first
* called. */ * called. */