mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 18:26:12 +08:00
Javadocs.
This commit is contained in:
parent
e429c045aa
commit
4aa54636f2
@ -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;
|
||||||
|
|||||||
@ -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. */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user