class IkConstraintTimeline
package spine
extends CurveTimeline › Timeline
import spine.Animation
Available with spine plugin
Changes an IK constraint's {@link IkConstraint#getMix()}, {@link IkConstraint#getSoftness()}, {@link IkConstraint#getBendDirection()}, {@link IkConstraint#getStretch()}, and {@link IkConstraint#getCompress()}.
Static variables
Constructor
Variables
Methods
getIkConstraintIndex():Int
The index of the IK constraint slot in {@link Skeleton#getIkConstraints()} that will be changed when this timeline is applied.
setFrame(frame:Int, time:Float, mix:Float, softness:Float, bendDirection:Int, compress:Bool, stretch:Bool):Void
Sets the time, mix, softness, bend direction, compress, and stretch for the specified frame.
Parameters:
frame | Between 0 and |
---|---|
time | The frame time in seconds. |
bendDirection | 1 or -1. |