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.
* @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,
boolean stretch) {
frame *= ENTRIES;

View File

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