@esotericsoftware/spine-core 4.2.34 → 4.2.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,6 +35,7 @@ import { HasTextureRegion } from "./attachments/HasTextureRegion.js";
35
35
  import { SequenceMode } from "./attachments/Sequence.js";
36
36
  import { PhysicsConstraint } from "./PhysicsConstraint.js";
37
37
  import { PhysicsConstraintData } from "./PhysicsConstraintData.js";
38
+ import { Inherit } from "./BoneData.js";
38
39
  /** A simple container for a list of timelines and a name. */
39
40
  export declare class Animation {
40
41
  /** The animation's name, which is unique across all animations in the skeleton. */
@@ -226,6 +227,16 @@ export declare class ShearYTimeline extends CurveTimeline1 implements BoneTimeli
226
227
  constructor(frameCount: number, bezierCount: number, boneIndex: number);
227
228
  apply(skeleton: Skeleton, lastTime: number, time: number, events: Array<Event>, alpha: number, blend: MixBlend, direction: MixDirection): void;
228
229
  }
230
+ export declare class InheritTimeline extends Timeline implements BoneTimeline {
231
+ boneIndex: number;
232
+ constructor(frameCount: number, boneIndex: number);
233
+ getFrameEntries(): number;
234
+ /** Sets the transform mode for the specified frame.
235
+ * @param frame Between 0 and <code>frameCount</code>, inclusive.
236
+ * @param time The frame time in seconds. */
237
+ setFrame(frame: number, time: number, inherit: Inherit): void;
238
+ apply(skeleton: Skeleton, lastTime: number, time: number, events: Array<Event>, alpha: number, blend: MixBlend, direction: MixDirection): void;
239
+ }
229
240
  /** Changes a slot's {@link Slot#color}. */
230
241
  export declare class RGBATimeline extends CurveTimeline implements SlotTimeline {
231
242
  slotIndex: number;
@@ -326,7 +337,7 @@ export declare class DrawOrderTimeline extends Timeline {
326
337
  /** Changes an IK constraint's {@link IkConstraint#mix}, {@link IkConstraint#softness},
327
338
  * {@link IkConstraint#bendDirection}, {@link IkConstraint#stretch}, and {@link IkConstraint#compress}. */
328
339
  export declare class IkConstraintTimeline extends CurveTimeline {
329
- /** The index of the IK constraint in {@link Skeleton#getIkConstraints()} that will be changed when this timeline is */
340
+ /** The index of the IK constraint in {@link Skeleton#getIkConstraints()} that will be changed when this timeline is applied */
330
341
  constraintIndex: number;
331
342
  constructor(frameCount: number, bezierCount: number, ikConstraintIndex: number);
332
343
  getFrameEntries(): number;