@galacean/engine-spine 0.0.0-experimental-2024071801 → 0.0.0-experimental-2024071902
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/README.md +7 -5
- package/dist/browser.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/package.json +2 -2
- package/types/{src/SpineAnimationRenderer.d.ts → SpineAnimationRenderer.d.ts} +21 -21
- package/types/SpineGenerator.d.ts +5 -5
- package/types/index.d.ts +1 -1
- package/types/loader/SpineLoader.d.ts +1 -1
- package/types/SpineAnimation.d.ts +0 -147
- package/types/core/MeshGenerator.d.ts +0 -43
- package/types/core/SpineGenerator.d.ts +0 -42
- package/types/core/SpineMesh.d.ts +0 -11
- package/types/core/SpinePrimitive.d.ts +0 -15
- package/types/cypress.config.d.ts +0 -2
- package/types/e2e/case/.mockForE2E.d.ts +0 -3
- package/types/e2e/case/mix-and-match.d.ts +0 -1
- package/types/e2e/case/raptor.d.ts +0 -1
- package/types/e2e/case/spine-boy.d.ts +0 -1
- package/types/e2e/config.d.ts +0 -19
- package/types/e2e/support/commands.d.ts +0 -8
- package/types/e2e/support/e2e.d.ts +0 -1
- package/types/e2e/tests/index.cy.d.ts +0 -1
- package/types/example/main.d.ts +0 -1
- package/types/example/outline.d.ts +0 -11
- package/types/jest.setup.d.ts +0 -5
- package/types/loader/BufferReader.d.ts +0 -9
- package/types/loader/EditorSkeletonDataLoader.d.ts +0 -6
- package/types/src/SpineGenerator.d.ts +0 -37
- package/types/src/SpineMaterial.d.ts +0 -6
- package/types/src/index.d.ts +0 -7
- package/types/src/loader/EditorSpineAtlasLoader.d.ts +0 -6
- package/types/src/loader/LoaderUtils.d.ts +0 -18
- package/types/src/loader/SkeletonDataResource.d.ts +0 -12
- package/types/src/loader/SpineLoader.d.ts +0 -29
- package/types/src/util/BlendMode.d.ts +0 -4
- package/types/src/util/BufferReader.d.ts +0 -10
- package/types/src/util/ClearablePool.d.ts +0 -8
- package/types/src/util/ReturnablePool.d.ts +0 -8
- package/types/tests/SpineAnimation.test.d.ts +0 -1
- package/types/tests/SpineGenerator.test.d.ts +0 -1
- package/types/tests/SpineMaterial.test.d.ts +0 -1
- package/types/tests/loader/EditorSpineAtlasLoader.test.d.ts +0 -1
- package/types/tests/loader/SkeletonDataResource.test.d.ts +0 -1
- package/types/tests/loader/SpineLoader.test.d.ts +0 -1
- package/types/tests/loader/loaderUtil.test.d.ts +0 -0
- package/types/tests/testUtils.d.ts +0 -3
- package/types/tests/util/BlendMode.test.d.ts +0 -1
- package/types/tests/util/BufferReader.test.d.ts +0 -1
- package/types/tests/util/ClearablePool.test.d.ts +0 -1
- package/types/tests/util/ReturnablePool.test.d.ts +0 -1
- package/types/types.d.ts +0 -4
- package/types/util/Cache.d.ts +0 -19
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare class BufferReader {
|
|
2
|
-
data: Uint8Array;
|
|
3
|
-
private _dataView;
|
|
4
|
-
private _position;
|
|
5
|
-
constructor(data: Uint8Array, byteOffset?: number, byteLength?: number);
|
|
6
|
-
nextUint16(): number;
|
|
7
|
-
nextStr(): string;
|
|
8
|
-
nextImageData(): Uint8Array;
|
|
9
|
-
private decodeText;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/types.d.ts
DELETED
package/types/util/Cache.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SkeletonData, AnimationStateData } from "@esotericsoftware/spine-core";
|
|
2
|
-
import { Material } from "@galacean/engine";
|
|
3
|
-
declare class Cache<K, V> {
|
|
4
|
-
protected _cache: Map<K, V>;
|
|
5
|
-
get(key: K): V;
|
|
6
|
-
set(key: K, value: V): void;
|
|
7
|
-
clear(keys?: K[]): void;
|
|
8
|
-
}
|
|
9
|
-
export declare class AnimationStateDataCache extends Cache<SkeletonData, AnimationStateData> {
|
|
10
|
-
private static _instance;
|
|
11
|
-
static get instance(): AnimationStateDataCache;
|
|
12
|
-
getAnimationStateData(skeletonData: SkeletonData): AnimationStateData;
|
|
13
|
-
}
|
|
14
|
-
export declare class MaterialCache extends Cache<string, Material> {
|
|
15
|
-
private static _instance;
|
|
16
|
-
static get instance(): MaterialCache;
|
|
17
|
-
getMaterial(key: string): Material;
|
|
18
|
-
}
|
|
19
|
-
export {};
|