@esotericsoftware/spine-core 4.0.12 → 4.1.1
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.
- package/dist/Animation.d.ts +22 -3
- package/dist/Animation.js +87 -6
- package/dist/AnimationState.d.ts +8 -8
- package/dist/AnimationState.js +2 -2
- package/dist/AnimationStateData.d.ts +2 -2
- package/dist/AnimationStateData.js +2 -2
- package/dist/AssetManagerBase.d.ts +2 -2
- package/dist/AssetManagerBase.js +2 -2
- package/dist/AtlasAttachmentLoader.d.ts +6 -4
- package/dist/AtlasAttachmentLoader.js +35 -15
- package/dist/Bone.d.ts +2 -2
- package/dist/Bone.js +2 -2
- package/dist/BoneData.d.ts +2 -2
- package/dist/BoneData.js +2 -2
- package/dist/ConstraintData.d.ts +2 -2
- package/dist/ConstraintData.js +2 -2
- package/dist/Event.d.ts +2 -2
- package/dist/Event.js +2 -2
- package/dist/EventData.d.ts +2 -2
- package/dist/EventData.js +2 -2
- package/dist/IkConstraint.d.ts +2 -2
- package/dist/IkConstraint.js +2 -2
- package/dist/IkConstraintData.d.ts +2 -2
- package/dist/IkConstraintData.js +2 -2
- package/dist/PathConstraint.d.ts +2 -2
- package/dist/PathConstraint.js +2 -2
- package/dist/PathConstraintData.d.ts +2 -2
- package/dist/PathConstraintData.js +2 -2
- package/dist/Skeleton.d.ts +2 -8
- package/dist/Skeleton.js +4 -12
- package/dist/SkeletonBinary.d.ts +3 -2
- package/dist/SkeletonBinary.js +89 -52
- package/dist/SkeletonBounds.d.ts +2 -2
- package/dist/SkeletonBounds.js +2 -2
- package/dist/SkeletonClipping.d.ts +2 -2
- package/dist/SkeletonClipping.js +2 -2
- package/dist/SkeletonData.d.ts +2 -2
- package/dist/SkeletonData.js +2 -2
- package/dist/SkeletonJson.d.ts +4 -2
- package/dist/SkeletonJson.js +96 -59
- package/dist/Skin.d.ts +2 -2
- package/dist/Skin.js +2 -2
- package/dist/Slot.d.ts +8 -11
- package/dist/Slot.js +8 -17
- package/dist/SlotData.d.ts +2 -2
- package/dist/SlotData.js +2 -2
- package/dist/Texture.d.ts +2 -2
- package/dist/Texture.js +2 -2
- package/dist/TextureAtlas.d.ts +2 -2
- package/dist/TextureAtlas.js +2 -2
- package/dist/TransformConstraint.d.ts +2 -2
- package/dist/TransformConstraint.js +2 -2
- package/dist/TransformConstraintData.d.ts +2 -2
- package/dist/TransformConstraintData.js +2 -2
- package/dist/Triangulator.d.ts +2 -2
- package/dist/Triangulator.js +2 -2
- package/dist/Updatable.d.ts +2 -2
- package/dist/Updatable.js +2 -2
- package/dist/Utils.d.ts +2 -2
- package/dist/Utils.js +2 -2
- package/dist/VertexEffect.d.ts +2 -2
- package/dist/VertexEffect.js +2 -2
- package/dist/attachments/Attachment.d.ts +5 -4
- package/dist/attachments/Attachment.js +7 -6
- package/dist/attachments/AttachmentLoader.d.ts +5 -4
- package/dist/attachments/AttachmentLoader.js +2 -2
- package/dist/attachments/BoundingBoxAttachment.d.ts +2 -2
- package/dist/attachments/BoundingBoxAttachment.js +2 -2
- package/dist/attachments/ClippingAttachment.d.ts +2 -2
- package/dist/attachments/ClippingAttachment.js +2 -2
- package/dist/attachments/HasTextureRegion.d.ts +44 -0
- package/dist/attachments/HasTextureRegion.js +30 -0
- package/dist/attachments/MeshAttachment.d.ts +11 -6
- package/dist/attachments/MeshAttachment.js +15 -8
- package/dist/attachments/PathAttachment.d.ts +2 -2
- package/dist/attachments/PathAttachment.js +2 -2
- package/dist/attachments/PointAttachment.d.ts +2 -2
- package/dist/attachments/PointAttachment.js +2 -2
- package/dist/attachments/RegionAttachment.d.ts +17 -14
- package/dist/attachments/RegionAttachment.js +16 -14
- package/dist/attachments/Sequence.d.ts +55 -0
- package/dist/attachments/Sequence.js +91 -0
- package/dist/iife/spine-core.js +366 -143
- package/dist/iife/spine-core.js.map +3 -3
- package/dist/iife/spine-core.min.js +2 -2
- package/dist/polyfills.d.ts +2 -2
- package/dist/polyfills.js +2 -2
- package/dist/vertexeffects/JitterEffect.d.ts +2 -2
- package/dist/vertexeffects/JitterEffect.js +2 -2
- package/dist/vertexeffects/SwirlEffect.d.ts +2 -2
- package/dist/vertexeffects/SwirlEffect.js +2 -2
- package/package.json +2 -2
package/dist/AnimationState.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -336,19 +336,19 @@ export declare enum EventType {
|
|
|
336
336
|
* {@link AnimationState#addListener()}. */
|
|
337
337
|
export interface AnimationStateListener {
|
|
338
338
|
/** Invoked when this entry has been set as the current entry. */
|
|
339
|
-
start(entry: TrackEntry): void;
|
|
339
|
+
start?(entry: TrackEntry): void;
|
|
340
340
|
/** Invoked when another entry has replaced this entry as the current entry. This entry may continue being applied for
|
|
341
341
|
* mixing. */
|
|
342
|
-
interrupt(entry: TrackEntry): void;
|
|
342
|
+
interrupt?(entry: TrackEntry): void;
|
|
343
343
|
/** Invoked when this entry is no longer the current entry and will never be applied again. */
|
|
344
|
-
end(entry: TrackEntry): void;
|
|
344
|
+
end?(entry: TrackEntry): void;
|
|
345
345
|
/** Invoked when this entry will be disposed. This may occur without the entry ever being set as the current entry.
|
|
346
346
|
* References to the entry should not be kept after dispose is called, as it may be destroyed or reused. */
|
|
347
|
-
dispose(entry: TrackEntry): void;
|
|
347
|
+
dispose?(entry: TrackEntry): void;
|
|
348
348
|
/** Invoked every time this entry's animation completes a loop. */
|
|
349
|
-
complete(entry: TrackEntry): void;
|
|
349
|
+
complete?(entry: TrackEntry): void;
|
|
350
350
|
/** Invoked when this entry's animation triggers an event. */
|
|
351
|
-
event(entry: TrackEntry, event: Event): void;
|
|
351
|
+
event?(entry: TrackEntry, event: Event): void;
|
|
352
352
|
}
|
|
353
353
|
export declare abstract class AnimationStateAdapter implements AnimationStateListener {
|
|
354
354
|
start(entry: TrackEntry): void;
|
package/dist/AnimationState.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/AssetManagerBase.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -35,6 +35,7 @@ import { PointAttachment } from "./attachments/PointAttachment";
|
|
|
35
35
|
import { RegionAttachment } from "./attachments/RegionAttachment";
|
|
36
36
|
import { Skin } from "./Skin";
|
|
37
37
|
import { TextureAtlas } from "./TextureAtlas";
|
|
38
|
+
import { Sequence } from "./attachments/Sequence";
|
|
38
39
|
/** An {@link AttachmentLoader} that configures attachments using texture regions from an {@link TextureAtlas}.
|
|
39
40
|
*
|
|
40
41
|
* See [Loading skeleton data](http://esotericsoftware.com/spine-loading-skeleton-data#JSON-and-binary-data) in the
|
|
@@ -42,8 +43,9 @@ import { TextureAtlas } from "./TextureAtlas";
|
|
|
42
43
|
export declare class AtlasAttachmentLoader implements AttachmentLoader {
|
|
43
44
|
atlas: TextureAtlas;
|
|
44
45
|
constructor(atlas: TextureAtlas);
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
loadSequence(name: string, basePath: string, sequence: Sequence): void;
|
|
47
|
+
newRegionAttachment(skin: Skin, name: string, path: string, sequence: Sequence): RegionAttachment;
|
|
48
|
+
newMeshAttachment(skin: Skin, name: string, path: string, sequence: Sequence): MeshAttachment;
|
|
47
49
|
newBoundingBoxAttachment(skin: Skin, name: string): BoundingBoxAttachment;
|
|
48
50
|
newPathAttachment(skin: Skin, name: string): PathAttachment;
|
|
49
51
|
newPointAttachment(skin: Skin, name: string): PointAttachment;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -40,22 +40,42 @@ export class AtlasAttachmentLoader {
|
|
|
40
40
|
constructor(atlas) {
|
|
41
41
|
this.atlas = atlas;
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
let
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
loadSequence(name, basePath, sequence) {
|
|
44
|
+
let regions = sequence.regions;
|
|
45
|
+
for (let i = 0, n = regions.length; i < n; i++) {
|
|
46
|
+
let path = sequence.getPath(basePath, i);
|
|
47
|
+
regions[i] = this.atlas.findRegion(path);
|
|
48
|
+
regions[i].renderObject = regions[i];
|
|
49
|
+
if (regions[i] == null)
|
|
50
|
+
throw new Error("Region not found in atlas: " + path + " (sequence: " + name + ")");
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
newRegionAttachment(skin, name, path, sequence) {
|
|
48
54
|
let attachment = new RegionAttachment(name);
|
|
49
|
-
|
|
55
|
+
if (sequence != null) {
|
|
56
|
+
this.loadSequence(name, path, sequence);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
let region = this.atlas.findRegion(path);
|
|
60
|
+
if (!region)
|
|
61
|
+
throw new Error("Region not found in atlas: " + path + " (region attachment: " + name + ")");
|
|
62
|
+
region.renderObject = region;
|
|
63
|
+
attachment.region = region;
|
|
64
|
+
}
|
|
50
65
|
return attachment;
|
|
51
66
|
}
|
|
52
|
-
newMeshAttachment(skin, name, path) {
|
|
53
|
-
let region = this.atlas.findRegion(path);
|
|
54
|
-
if (!region)
|
|
55
|
-
throw new Error("Region not found in atlas: " + path + " (mesh attachment: " + name + ")");
|
|
56
|
-
region.renderObject = region;
|
|
67
|
+
newMeshAttachment(skin, name, path, sequence) {
|
|
57
68
|
let attachment = new MeshAttachment(name);
|
|
58
|
-
|
|
69
|
+
if (sequence != null) {
|
|
70
|
+
this.loadSequence(name, path, sequence);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
let region = this.atlas.findRegion(path);
|
|
74
|
+
if (!region)
|
|
75
|
+
throw new Error("Region not found in atlas: " + path + " (mesh attachment: " + name + ")");
|
|
76
|
+
region.renderObject = region;
|
|
77
|
+
attachment.region = region;
|
|
78
|
+
}
|
|
59
79
|
return attachment;
|
|
60
80
|
}
|
|
61
81
|
newBoundingBoxAttachment(skin, name) {
|
|
@@ -71,4 +91,4 @@ export class AtlasAttachmentLoader {
|
|
|
71
91
|
return new ClippingAttachment(name);
|
|
72
92
|
}
|
|
73
93
|
}
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
94
|
+
//# sourceMappingURL=data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FJLGtCQUFrQixDQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3JDLENBQUM7Q0FDRCJ9
|
package/dist/Bone.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/Bone.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/BoneData.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/BoneData.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/ConstraintData.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/ConstraintData.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/Event.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/Event.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/EventData.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/EventData.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/IkConstraint.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/IkConstraint.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/IkConstraintData.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/PathConstraint.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/PathConstraint.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
package/dist/Skeleton.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/******************************************************************************
|
|
2
2
|
* Spine Runtimes License Agreement
|
|
3
|
-
* Last updated
|
|
3
|
+
* Last updated September 24, 2021. Replaces all prior versions.
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c) 2013-
|
|
5
|
+
* Copyright (c) 2013-2021, Esoteric Software LLC
|
|
6
6
|
*
|
|
7
7
|
* Integration of the Spine Runtimes into software or otherwise creating
|
|
8
8
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
|
@@ -60,10 +60,6 @@ export declare class Skeleton {
|
|
|
60
60
|
skin: Skin;
|
|
61
61
|
/** The color to tint all the skeleton's attachments. */
|
|
62
62
|
color: Color;
|
|
63
|
-
/** Returns the skeleton's time. This can be used for tracking, such as with Slot {@link Slot#attachmentTime}.
|
|
64
|
-
* <p>
|
|
65
|
-
* See {@link #update()}. */
|
|
66
|
-
time: number;
|
|
67
63
|
/** Scales the entire skeleton on the X axis. This affects all bones, even if the bone's transform mode disallows scale
|
|
68
64
|
* inheritance. */
|
|
69
65
|
scaleX: number;
|
|
@@ -153,6 +149,4 @@ export declare class Skeleton {
|
|
|
153
149
|
* @param size An output value, the width and height of the AABB.
|
|
154
150
|
* @param temp Working memory to temporarily store attachments' computed world vertices. */
|
|
155
151
|
getBounds(offset: Vector2, size: Vector2, temp?: Array<number>): void;
|
|
156
|
-
/** Increments the skeleton's {@link #time}. */
|
|
157
|
-
update(delta: number): void;
|
|
158
152
|
}
|