@galacean/engine-spine 4.2.0-beta.3 → 4.2.0
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/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 +1 -1
- package/types/tsconfig.tsbuildinfo +1 -0
- package/types/example/outline.d.ts +0 -11
- package/types/loader/AdaptiveTexture.d.ts +0 -13
- package/types/loader/SpineAtlasLoader.d.ts +0 -7
- package/types/loader/SpineResource.d.ts +0 -33
- package/types/loader/SpineTexture.d.ts +0 -13
- package/types/loader/index.d.ts +0 -4
- package/types/renderer/SpineAnimationRenderer.d.ts +0 -177
- package/types/renderer/SpineGenerator.d.ts +0 -35
- package/types/renderer/SpineMaterial.d.ts +0 -6
- package/types/renderer/index.d.ts +0 -2
- package/types/spine-core/Animation.d.ts +0 -378
- package/types/spine-core/AnimationState.d.ts +0 -365
- package/types/spine-core/AnimationStateData.d.ts +0 -23
- package/types/spine-core/AssetManager.d.ts +0 -36
- package/types/spine-core/AtlasAttachmentLoader.d.ts +0 -23
- package/types/spine-core/BlendMode.d.ts +0 -7
- package/types/spine-core/Bone.d.ts +0 -110
- package/types/spine-core/BoneData.d.ts +0 -44
- package/types/spine-core/ConstraintData.d.ts +0 -7
- package/types/spine-core/Event.d.ts +0 -16
- package/types/spine-core/EventData.d.ts +0 -13
- package/types/spine-core/IkConstraint.d.ts +0 -38
- package/types/spine-core/IkConstraintData.d.ts +0 -26
- package/types/spine-core/PathConstraint.d.ts +0 -46
- package/types/spine-core/PathConstraintData.d.ts +0 -52
- package/types/spine-core/SharedAssetManager.d.ts +0 -19
- package/types/spine-core/Skeleton.d.ts +0 -134
- package/types/spine-core/SkeletonBinary.d.ts +0 -49
- package/types/spine-core/SkeletonBounds.d.ts +0 -48
- package/types/spine-core/SkeletonClipping.d.ts +0 -22
- package/types/spine-core/SkeletonData.d.ts +0 -89
- package/types/spine-core/SkeletonJson.d.ts +0 -34
- package/types/spine-core/Skin.d.ts +0 -43
- package/types/spine-core/Slot.d.ts +0 -42
- package/types/spine-core/SlotData.d.ts +0 -23
- package/types/spine-core/Texture.d.ts +0 -43
- package/types/spine-core/TextureAtlas.d.ts +0 -30
- package/types/spine-core/TransformConstraint.d.ts +0 -36
- package/types/spine-core/TransformConstraintData.d.ts +0 -34
- package/types/spine-core/Triangulator.d.ts +0 -14
- package/types/spine-core/Updatable.d.ts +0 -9
- package/types/spine-core/Utils.d.ts +0 -124
- package/types/spine-core/VertexEffect.d.ts +0 -7
- package/types/spine-core/attachments/Attachment.d.ts +0 -43
- package/types/spine-core/attachments/AttachmentLoader.d.ts +0 -25
- package/types/spine-core/attachments/AttachmentType.d.ts +0 -9
- package/types/spine-core/attachments/BoundingBoxAttachment.d.ts +0 -12
- package/types/spine-core/attachments/ClippingAttachment.d.ts +0 -14
- package/types/spine-core/attachments/MeshAttachment.d.ts +0 -46
- package/types/spine-core/attachments/PathAttachment.d.ts +0 -19
- package/types/spine-core/attachments/PointAttachment.d.ts +0 -20
- package/types/spine-core/attachments/RegionAttachment.d.ts +0 -88
- package/types/spine-core/index.d.ts +0 -45
- package/types/spine-core/polyfills.d.ts +0 -1
- package/types/spine-core/vertexeffects/JitterEffect.d.ts +0 -11
- package/types/spine-core/vertexeffects/SwirlEffect.d.ts +0 -16
- package/types/src/SpineAnimationRenderer.d.ts +0 -197
- package/types/src/SpineGenerator.d.ts +0 -34
- package/types/src/index.d.ts +0 -9
- package/types/src/loader/SpineLoader.d.ts +0 -29
- package/types/src/loader/SpineResource.d.ts +0 -33
- package/types/util/AttachmentTools.d.ts +0 -24
- package/types/util/index.d.ts +0 -1
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VertexEffect } from "../VertexEffect";
|
|
2
|
-
import { Skeleton } from "../Skeleton";
|
|
3
|
-
import { Color, Vector2 } from "../Utils";
|
|
4
|
-
export declare class JitterEffect implements VertexEffect {
|
|
5
|
-
jitterX: number;
|
|
6
|
-
jitterY: number;
|
|
7
|
-
constructor(jitterX: number, jitterY: number);
|
|
8
|
-
begin(skeleton: Skeleton): void;
|
|
9
|
-
transform(position: Vector2, uv: Vector2, light: Color, dark: Color): void;
|
|
10
|
-
end(): void;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { VertexEffect } from "../VertexEffect";
|
|
2
|
-
import { PowOut, Color, Vector2 } from "../Utils";
|
|
3
|
-
import { Skeleton } from "../Skeleton";
|
|
4
|
-
export declare class SwirlEffect implements VertexEffect {
|
|
5
|
-
static interpolation: PowOut;
|
|
6
|
-
centerX: number;
|
|
7
|
-
centerY: number;
|
|
8
|
-
radius: number;
|
|
9
|
-
angle: number;
|
|
10
|
-
private worldX;
|
|
11
|
-
private worldY;
|
|
12
|
-
constructor(radius: number);
|
|
13
|
-
begin(skeleton: Skeleton): void;
|
|
14
|
-
transform(position: Vector2, uv: Vector2, light: Color, dark: Color): void;
|
|
15
|
-
end(): void;
|
|
16
|
-
}
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
import { AnimationState, Skeleton } from "@esotericsoftware/spine-core";
|
|
2
|
-
import { BoundingBox, Buffer, Engine, Entity, Material, Primitive, Renderer, SubPrimitive } from "@galacean/engine";
|
|
3
|
-
import { SpineResource } from "./loader/SpineResource";
|
|
4
|
-
/**
|
|
5
|
-
* Spine animation renderer, capable of rendering spine animations and providing functions for animation and skeleton manipulation.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SpineAnimationRenderer extends Renderer {
|
|
8
|
-
private static _defaultMaterial;
|
|
9
|
-
private static _spineGenerator;
|
|
10
|
-
private static _positionVertexElement;
|
|
11
|
-
private static _colorVertexElement;
|
|
12
|
-
private static _uvVertexElement;
|
|
13
|
-
/** @internal */
|
|
14
|
-
static _materialCache: Map<string, Material>;
|
|
15
|
-
/** @internal */
|
|
16
|
-
static _getDefaultMaterial(engine: Engine): Material;
|
|
17
|
-
/**
|
|
18
|
-
* The spacing between z layers.
|
|
19
|
-
*/
|
|
20
|
-
zSpacing: number;
|
|
21
|
-
/**
|
|
22
|
-
* Whether to use premultiplied alpha mode for rendering.
|
|
23
|
-
* When enabled, vertex color values are multiplied by the alpha channel.
|
|
24
|
-
* @remarks
|
|
25
|
-
If this option is enabled, the Spine editor must export textures with "Premultiply Alpha" checked.
|
|
26
|
-
*/
|
|
27
|
-
premultipliedAlpha: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Updates the bounding box every frame when enabled.
|
|
30
|
-
* Otherwise, it is calculated only during animation initialization.
|
|
31
|
-
*/
|
|
32
|
-
updateBoundsPerFrame: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Default state for spine animation.
|
|
35
|
-
* Contains the default animation name to be played, whether this animation should loop, the default skin name.
|
|
36
|
-
*/
|
|
37
|
-
readonly defaultConfig: SpineAnimationDefaultConfig;
|
|
38
|
-
/** @internal */
|
|
39
|
-
_primitive: Primitive;
|
|
40
|
-
/** @internal */
|
|
41
|
-
_subPrimitives: SubPrimitive[];
|
|
42
|
-
/** @internal */
|
|
43
|
-
_indexBuffer: Buffer;
|
|
44
|
-
/** @internal */
|
|
45
|
-
_vertexBuffer: Buffer;
|
|
46
|
-
/** @internal */
|
|
47
|
-
_vertices: Float32Array<ArrayBuffer>;
|
|
48
|
-
/** @internal */
|
|
49
|
-
_indices: Uint16Array<ArrayBuffer>;
|
|
50
|
-
/** @internal */
|
|
51
|
-
_needResizeBuffer: boolean;
|
|
52
|
-
/** @internal */
|
|
53
|
-
_vertexCount: number;
|
|
54
|
-
/** @internal */
|
|
55
|
-
_resource: SpineResource;
|
|
56
|
-
/** @internal */
|
|
57
|
-
_spineBounds: BoundingBox;
|
|
58
|
-
/** @internal */
|
|
59
|
-
_needsInitialize: boolean;
|
|
60
|
-
private _skeleton;
|
|
61
|
-
private _state;
|
|
62
|
-
/**
|
|
63
|
-
* The Spine.AnimationState object of this SpineAnimationRenderer.
|
|
64
|
-
* Manage, blend, and transition between multiple simultaneous animations effectively.
|
|
65
|
-
*/
|
|
66
|
-
get state(): AnimationState;
|
|
67
|
-
/**
|
|
68
|
-
* The Spine.Skeleton object of this SpineAnimationRenderer.
|
|
69
|
-
* Manipulate bone positions, rotations, scaling
|
|
70
|
-
* and change spine attachment to customize character appearances dynamically during runtime.
|
|
71
|
-
*/
|
|
72
|
-
get skeleton(): Skeleton;
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
constructor(entity: Entity);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
_onEnable(): void;
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
update(delta: number): void;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
_render(context: any): void;
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
_updateBounds(worldBounds: BoundingBox): void;
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
_setSkeleton(skeleton: Skeleton): void;
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
_setState(state: AnimationState): void;
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
_cloneTo(target: SpineAnimationRenderer): void;
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
_onDestroy(): void;
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
_createAndBindBuffer(vertexCount: number): void;
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
_addSubPrimitive(subPrimitive: SubPrimitive): void;
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
_clearSubPrimitives(): void;
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
_isContainDirtyFlag(type: number): boolean;
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
_setDirtyFlagFalse(type: number): void;
|
|
129
|
-
private _initialize;
|
|
130
|
-
private _onAnimationStart;
|
|
131
|
-
private _onAnimationEnd;
|
|
132
|
-
private _clearMaterialCache;
|
|
133
|
-
private _applyDefaultConfig;
|
|
134
|
-
/**
|
|
135
|
-
* * @deprecated This property is deprecated and will be removed in future releases.
|
|
136
|
-
* Spine resource of current spine animation.
|
|
137
|
-
*/
|
|
138
|
-
get resource(): SpineResource;
|
|
139
|
-
/**
|
|
140
|
-
* * @deprecated This property is deprecated and will be removed in future releases.
|
|
141
|
-
* Sets the Spine resource for the current animation. This property allows switching to a different `SpineResource`.
|
|
142
|
-
*
|
|
143
|
-
* @param value - The new `SpineResource` to be used for the current animation
|
|
144
|
-
*/
|
|
145
|
-
set resource(value: SpineResource);
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
export declare enum SpineAnimationUpdateFlags {
|
|
151
|
-
/** On Animation start play */
|
|
152
|
-
AnimationVolume = 2,
|
|
153
|
-
/** On skeleton data asset changed */
|
|
154
|
-
InitialVolume = 4
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* @internal
|
|
158
|
-
*/
|
|
159
|
-
export declare enum RendererUpdateFlags {
|
|
160
|
-
/** Include world position and world bounds. */
|
|
161
|
-
WorldVolume = 1
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Default state for spine animation.
|
|
165
|
-
* Contains the default animation name to be played, whether this animation should loop,
|
|
166
|
-
* the default skin name, and the default scale of the skeleton.
|
|
167
|
-
*/
|
|
168
|
-
export declare class SpineAnimationDefaultConfig {
|
|
169
|
-
/**
|
|
170
|
-
* Whether the default animation should loop @defaultValue `true. The default animation should loop`
|
|
171
|
-
*/
|
|
172
|
-
loop: boolean;
|
|
173
|
-
/**
|
|
174
|
-
* The name of the default animation @defaultValue `null. Do not play any animation by default`
|
|
175
|
-
*/
|
|
176
|
-
animationName: string | null;
|
|
177
|
-
/**
|
|
178
|
-
* The name of the default skin @defaultValue `default`
|
|
179
|
-
*/
|
|
180
|
-
skinName: string;
|
|
181
|
-
/**
|
|
182
|
-
* Creates an instance of default config
|
|
183
|
-
*/
|
|
184
|
-
constructor(
|
|
185
|
-
/**
|
|
186
|
-
* Whether the default animation should loop @defaultValue `true. The default animation should loop`
|
|
187
|
-
*/
|
|
188
|
-
loop?: boolean,
|
|
189
|
-
/**
|
|
190
|
-
* The name of the default animation @defaultValue `null. Do not play any animation by default`
|
|
191
|
-
*/
|
|
192
|
-
animationName?: string | null,
|
|
193
|
-
/**
|
|
194
|
-
* The name of the default skin @defaultValue `default`
|
|
195
|
-
*/
|
|
196
|
-
skinName?: string);
|
|
197
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { BlendMode, Color, Skeleton } from "@esotericsoftware/spine-core";
|
|
2
|
-
import { SubPrimitive, Texture2D } from "@galacean/engine";
|
|
3
|
-
import { SpineAnimationRenderer } from "./SpineAnimationRenderer";
|
|
4
|
-
import { AdaptiveTexture } from "./loader/LoaderUtils";
|
|
5
|
-
import { ClearablePool } from "./util/ClearablePool";
|
|
6
|
-
import { ReturnablePool } from "./util/ReturnablePool";
|
|
7
|
-
declare class SubRenderItem {
|
|
8
|
-
subPrimitive: SubPrimitive;
|
|
9
|
-
blendMode: BlendMode;
|
|
10
|
-
texture: any;
|
|
11
|
-
slotName?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare class SpineGenerator {
|
|
14
|
-
static QUAD_TRIANGLES: number[];
|
|
15
|
-
static VERTEX_SIZE: number;
|
|
16
|
-
static VERTEX_STRIDE: number;
|
|
17
|
-
static tempDark: Color;
|
|
18
|
-
static tempColor: Color;
|
|
19
|
-
static tempVerts: any[];
|
|
20
|
-
static tempBlendMode: BlendMode | null;
|
|
21
|
-
static tempTexture: AdaptiveTexture | null;
|
|
22
|
-
static subPrimitivePool: ReturnablePool<SubPrimitive>;
|
|
23
|
-
static subRenderItemPool: ClearablePool<SubRenderItem>;
|
|
24
|
-
private _clipper;
|
|
25
|
-
private _subRenderItems;
|
|
26
|
-
private _separateSlots;
|
|
27
|
-
private _separateSlotTextureMap;
|
|
28
|
-
buildPrimitive(skeleton: Skeleton, renderer: SpineAnimationRenderer, shouldUpdateBounds: boolean): void;
|
|
29
|
-
addSeparateSlot(slotName: string): void;
|
|
30
|
-
addSeparateSlotTexture(slotName: string, texture: Texture2D): void;
|
|
31
|
-
private _createMaterialForTexture;
|
|
32
|
-
private _expandByPoint;
|
|
33
|
-
}
|
|
34
|
-
export {};
|
package/types/src/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "./loader/SpineLoader";
|
|
2
|
-
import "./loader/EditorSpineAtlasLoader";
|
|
3
|
-
import BoundingBoxLine from "../example/outline";
|
|
4
|
-
export { SpineAnimationRenderer } from "./SpineAnimationRenderer";
|
|
5
|
-
export { SpineResource } from "./loader/SpineResource";
|
|
6
|
-
export { createTextureAtlas } from "./loader/LoaderUtils";
|
|
7
|
-
export { BoundingBoxLine };
|
|
8
|
-
export * from "@esotericsoftware/spine-core";
|
|
9
|
-
export declare const version = "__buildVersion";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AssetPromise, Loader, LoadItem, ResourceManager } from "@galacean/engine";
|
|
2
|
-
import { SpineResource } from "./SpineResource";
|
|
3
|
-
export type SpineAssetBundle = {
|
|
4
|
-
skeletonPath: string;
|
|
5
|
-
skeletonExtension: string;
|
|
6
|
-
skeletonTextData?: string | ArrayBuffer;
|
|
7
|
-
atlasPath: string;
|
|
8
|
-
imagePaths: string[];
|
|
9
|
-
imageExtensions: string[];
|
|
10
|
-
};
|
|
11
|
-
type SpineLoaderParams = {
|
|
12
|
-
fileExtensions?: string | string[];
|
|
13
|
-
};
|
|
14
|
-
type SpineLoadItem = LoadItem & {
|
|
15
|
-
params?: SpineLoaderParams;
|
|
16
|
-
};
|
|
17
|
-
export declare class SpineLoader extends Loader<SpineResource> {
|
|
18
|
-
static imageExtensions: string[];
|
|
19
|
-
static skeletonExtensions: string[];
|
|
20
|
-
static parseAndAssignSpineAsset(url: string, fileExtension: string | null, bundle: SpineAssetBundle): void;
|
|
21
|
-
static deriveAndAssignSpineAsset(url: string, fileExtension: string | null, bundle: SpineAssetBundle): void;
|
|
22
|
-
static verifyFileExtensions(fileExtensions: string | string[], expectArray: boolean): string | string[] | null;
|
|
23
|
-
static getUrlExtension(url: string, fileExtension: string): string | null;
|
|
24
|
-
load(item: SpineLoadItem, resourceManager: ResourceManager): AssetPromise<SpineResource>;
|
|
25
|
-
private _handleEditorAsset;
|
|
26
|
-
private _handleOriginAsset;
|
|
27
|
-
private _determineSkeletonDataType;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AnimationStateData, SkeletonData } from "@esotericsoftware/spine-core";
|
|
2
|
-
import { Engine, Entity, ReferResource } from "@galacean/engine";
|
|
3
|
-
/**
|
|
4
|
-
* Represents a resource that manages Spine animation data, textures, and entity templates for the Galacean engine.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export declare class SpineResource extends ReferResource {
|
|
8
|
-
/** The url of skeletonData. */
|
|
9
|
-
readonly url: string;
|
|
10
|
-
private _texturesInSpineAtlas;
|
|
11
|
-
private _skeletonData;
|
|
12
|
-
private _stateData;
|
|
13
|
-
private _template;
|
|
14
|
-
constructor(engine: Engine, skeletonData: SkeletonData, url?: string);
|
|
15
|
-
/**
|
|
16
|
-
* The skeleton data associated with this Spine resource.
|
|
17
|
-
*/
|
|
18
|
-
get skeletonData(): SkeletonData;
|
|
19
|
-
/**
|
|
20
|
-
* The animation state data associated with this Spine resource.
|
|
21
|
-
*/
|
|
22
|
-
get stateData(): AnimationStateData;
|
|
23
|
-
/**
|
|
24
|
-
* Creates and returns a new instance of the spine entity template.
|
|
25
|
-
* @returns A instance of the spine entity template
|
|
26
|
-
*/
|
|
27
|
-
instantiate(): Entity;
|
|
28
|
-
protected _onDestroy(): void;
|
|
29
|
-
private _createTemplate;
|
|
30
|
-
private _associationTextureInSkeletonData;
|
|
31
|
-
private _disassociationSuperResource;
|
|
32
|
-
private _extractFileName;
|
|
33
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Attachment, MeshAttachment, RegionAttachment, TextureAtlasRegion } from "@esotericsoftware/spine-core";
|
|
2
|
-
export declare class AttachmentTools {
|
|
3
|
-
/**
|
|
4
|
-
* Creates a new `RegionAttachment` from a specified texture atlas region.
|
|
5
|
-
*
|
|
6
|
-
* @param region - The texture atlas region used to create the attachment.
|
|
7
|
-
* @param attachmentName - The name of the new attachment.
|
|
8
|
-
* @param scale - A scaling factor applied to the attachment's dimensions (default is 1).
|
|
9
|
-
* @param rotation - The rotation angle of the attachment in degrees (default is 0).
|
|
10
|
-
* @returns The created `RegionAttachment` with the passed in region.
|
|
11
|
-
*/
|
|
12
|
-
static createAttachmentFromRegion(region: TextureAtlasRegion, attachmentName: string, scale?: number, rotation?: number): RegionAttachment;
|
|
13
|
-
/**
|
|
14
|
-
* Clones an attachment (`RegionAttachment` or `MeshAttachment`) and applies a new texture atlas region.
|
|
15
|
-
*
|
|
16
|
-
* @param attachment - The attachment to clone (either `RegionAttachment` or `MeshAttachment`).
|
|
17
|
-
* @param atlasRegion - The new texture atlas region to associate with the cloned attachment.
|
|
18
|
-
* @param useOriginalRegionSize - Whether to retain the original region's size for the cloned attachment (default is `false`).
|
|
19
|
-
* @param scale - A scaling factor applied to the dimensions of the cloned attachment (default is 1).
|
|
20
|
-
* @param cloneMeshAsLinked - If `true`, clones a `MeshAttachment` as a linked mesh (default is `true`).
|
|
21
|
-
* @returns The cloned attachment with the specified properties and the new texture region.
|
|
22
|
-
*/
|
|
23
|
-
static cloneAttachmentWithRegion(attachment: RegionAttachment | MeshAttachment, atlasRegion: TextureAtlasRegion, useOriginalRegionSize?: boolean, scale?: number, cloneMeshAsLinked?: boolean): Attachment;
|
|
24
|
-
}
|
package/types/util/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AttachmentTools } from "./AttachmentTools";
|