@galacean/effects-plugin-spine 1.1.7 → 1.1.8

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/index.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects player spine plugin
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 十弦
6
- * Version: v1.1.7
6
+ * Version: v1.1.8
7
7
  */
8
8
 
9
9
  import { glContext, assertExist, math, Geometry, Material, setMaskMode, createShaderWithMarcos, ShaderType, GLSLVersion, Mesh, PLAYER_OPTIONS_ENV_EDITOR, spec, HitTestType, VFXItem, DestroyOptions, AbstractPlugin, registerPlugin } from '@galacean/effects';
@@ -10680,8 +10680,6 @@ var vs = "attribute vec2 aPosition;attribute vec4 aColor;attribute vec4 aColor2;
10680
10680
  var seed = 1;
10681
10681
  var SpineMesh = /** @class */ (function () {
10682
10682
  function SpineMesh(renderInfo) {
10683
- this.vertices = new Float32Array(SlotGroup.MAX_VERTICES * SlotGroup.VERTEX_SIZE);
10684
- this.indices = new Uint16Array(SlotGroup.MAX_VERTICES);
10685
10683
  this.verticesLength = 0;
10686
10684
  this.indicesLength = 0;
10687
10685
  var blendMode = renderInfo.blendMode, texture = renderInfo.texture, priority = renderInfo.priority, renderer = renderInfo.renderer, pma = renderInfo.pma, _a = renderInfo.name, name = _a === void 0 ? 'MSpine' : _a, engine = renderInfo.engine;
@@ -10758,6 +10756,9 @@ var SpineMesh = /** @class */ (function () {
10758
10756
  return material;
10759
10757
  };
10760
10758
  SpineMesh.prototype.updateMesh = function (vertices, indices, verticesLength) {
10759
+ if (!this.vertices || !this.indices) {
10760
+ throw new Error('Can not update SpineMesh after dispose');
10761
+ }
10761
10762
  var verticesStart = this.verticesLength;
10762
10763
  var indexStart = this.indicesLength;
10763
10764
  var pointBefore = this.verticesLength / SlotGroup.VERTEX_SIZE;
@@ -10769,6 +10770,9 @@ var SpineMesh = /** @class */ (function () {
10769
10770
  this.indicesLength += indices.length;
10770
10771
  };
10771
10772
  SpineMesh.prototype.endUpdate = function (worldMatrix) {
10773
+ if (!this.vertices || !this.indices) {
10774
+ throw new Error('Can not update SpineMesh after dispose');
10775
+ }
10772
10776
  for (var i = this.verticesLength; i < this.vertices.length; i++) {
10773
10777
  this.vertices[i] = 0;
10774
10778
  }
@@ -10784,6 +10788,11 @@ var SpineMesh = /** @class */ (function () {
10784
10788
  this.verticesLength = 0;
10785
10789
  this.indicesLength = 0;
10786
10790
  };
10791
+ SpineMesh.prototype.dispose = function () {
10792
+ this.geometry.dispose();
10793
+ this.vertices = null;
10794
+ this.indices = null;
10795
+ };
10787
10796
  return SpineMesh;
10788
10797
  }());
10789
10798
  function createShader(engine) {
@@ -11121,17 +11130,26 @@ var SpineVFXItem = /** @class */ (function (_super) {
11121
11130
  this.updateState(0);
11122
11131
  };
11123
11132
  SpineVFXItem.prototype.onItemUpdate = function (dt, lifetime) {
11124
- if (!this.content) {
11133
+ var slotGroup = this.content;
11134
+ if (!slotGroup) {
11125
11135
  return;
11126
11136
  }
11127
11137
  var visible = this.contentVisible;
11128
- this.content.meshGroups.map(function (mesh) {
11138
+ slotGroup.meshGroups.map(function (mesh) {
11129
11139
  mesh.mesh.setVisible(visible);
11130
11140
  });
11131
11141
  if (visible) {
11132
11142
  this.updateState(dt / 1000);
11133
11143
  }
11134
11144
  };
11145
+ SpineVFXItem.prototype.onItemRemoved = function () {
11146
+ var slotGroup = this.content;
11147
+ if (slotGroup) {
11148
+ slotGroup.meshGroups.map(function (mesh) {
11149
+ mesh.dispose();
11150
+ });
11151
+ }
11152
+ };
11135
11153
  SpineVFXItem.prototype.onEnd = function () {
11136
11154
  if (this.endBehavior === spec.END_BEHAVIOR_DESTROY && this.state) {
11137
11155
  this.state.clearListeners();
@@ -11503,7 +11521,11 @@ var SpineLoader = /** @class */ (function (_super) {
11503
11521
  var _a;
11504
11522
  if (item instanceof SpineVFXItem && item.content) {
11505
11523
  item.spineDataCache = undefined;
11506
- (_a = this.meshToRemove).push.apply(_a, __spreadArray([], __read(item.content.meshGroups), false));
11524
+ var slotGroup = item.content;
11525
+ if (slotGroup) {
11526
+ (_a = this.meshToRemove).push.apply(_a, __spreadArray([], __read(slotGroup.meshGroups), false));
11527
+ this.slotGroups.splice(this.slotGroups.indexOf(slotGroup), 1);
11528
+ }
11507
11529
  }
11508
11530
  };
11509
11531
  SpineLoader.prototype.onCompositionDestroyed = function (composition) {
@@ -11516,6 +11538,7 @@ var SpineLoader = /** @class */ (function (_super) {
11516
11538
  if (composition.loaderData.spineDatas) {
11517
11539
  delete composition.loaderData.spineDatas;
11518
11540
  }
11541
+ this.slotGroups = [];
11519
11542
  }
11520
11543
  };
11521
11544
  SpineLoader.prototype.prepareRenderFrame = function (composition, renderFrame) {
@@ -11535,7 +11558,7 @@ var SpineLoader = /** @class */ (function (_super) {
11535
11558
  }(AbstractPlugin));
11536
11559
 
11537
11560
  registerPlugin('spine', SpineLoader, SpineVFXItem);
11538
- var version = "1.1.7";
11561
+ var version = "1.1.8";
11539
11562
  console.info('[Galacean Effects Plugin Spine] version: ' + version);
11540
11563
 
11541
11564
  export { AlphaTimeline, Animation, AnimationState, AnimationStateAdapter, AnimationStateData, AtlasAttachmentLoader, Attachment, AttachmentTimeline, BinaryInput, BlendMode, Bone, BoneData, BoundingBoxAttachment, CURRENT, ClippingAttachment, ConstraintData, CurveTimeline, CurveTimeline1, CurveTimeline2, DeformTimeline, DrawOrderTimeline, Event, EventData, EventQueue, EventTimeline, EventType, FIRST, HOLD_FIRST, HOLD_MIX, HOLD_SUBSEQUENT, IkConstraint, IkConstraintData, IkConstraintTimeline, MeshAttachment, MixBlend, MixDirection, PathAttachment, PathConstraint, PathConstraintData, PathConstraintMixTimeline, PathConstraintPositionTimeline, PathConstraintSpacingTimeline, PointAttachment, PositionMode, RGB2Timeline, RGBA2Timeline, RGBATimeline, RGBTimeline, RegionAttachment, RotateMode, RotateTimeline, SETUP, SUBSEQUENT, ScaleTimeline, ScaleXTimeline, ScaleYTimeline, SequenceTimeline, ShearTimeline, ShearXTimeline, ShearYTimeline, Skeleton, SkeletonBinary, SkeletonBounds, SkeletonClipping, SkeletonData, SkeletonJson, Skin, SkinEntry, Slot, SlotData, SpacingMode, SpineLoader, SpineVFXItem, TextureAtlas, TextureAtlasPage, TextureAtlasRegion, TextureFilter, TextureRegion, TextureWrap, Timeline, TrackEntry, TransformConstraint, TransformConstraintData, TransformConstraintTimeline, TransformMode, TranslateTimeline, TranslateXTimeline, TranslateYTimeline, Triangulator, VertexAttachment, createSkeletonData, getAnimationDuration, getAnimationList, getSkinList, getSpineVersion, getTextureOptions, version };
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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25,7 +25,7 @@ export declare class SlotGroup {
25
25
  /**
26
26
  * 根据绘制顺序排列的插槽数组
27
27
  */
28
- private slotList;
28
+ private readonly slotList;
29
29
  /**
30
30
  * 顶点数据
31
31
  */
@@ -41,10 +41,6 @@ export declare class SlotGroup {
41
41
  * 世界变换矩阵
42
42
  */
43
43
  private wm;
44
- /**
45
- * 当前环境,用于 editor
46
- */
47
- private readonly env;
48
44
  meshName: string;
49
45
  listIndex: number;
50
46
  /**
@@ -1,5 +1,5 @@
1
1
  import { AbstractPlugin } from '@galacean/effects';
2
- import type { spec, Composition, Scene, VFXItem, RenderFrame, SceneLoadOptions } from '@galacean/effects';
2
+ import type { spec, Scene, VFXItem, RenderFrame, SceneLoadOptions, Composition } from '@galacean/effects';
3
3
  import type { SkeletonData } from './core';
4
4
  import { Skeleton, TextureAtlas } from './core';
5
5
  import type { SpineContent } from './spine-vfx-item';
@@ -1,4 +1,4 @@
1
- import type { Texture, SharedShaderWithSource, Engine } from '@galacean/effects';
1
+ import type { Texture, SharedShaderWithSource, Engine, Disposable } from '@galacean/effects';
2
2
  import { Mesh, Geometry, Material, math } from '@galacean/effects';
3
3
  import type { BlendMode } from './core';
4
4
  export interface SpineMeshRenderInfo {
@@ -13,7 +13,7 @@ export interface SpineMeshRenderInfo {
13
13
  };
14
14
  engine: Engine;
15
15
  }
16
- export declare class SpineMesh {
16
+ export declare class SpineMesh implements Disposable {
17
17
  private vertices;
18
18
  private indices;
19
19
  private verticesLength;
@@ -34,5 +34,6 @@ export declare class SpineMesh {
34
34
  updateMesh(vertices: number[], indices: number[], verticesLength: number): void;
35
35
  endUpdate(worldMatrix: math.Matrix4): void;
36
36
  startUpdate(): void;
37
+ dispose(): void;
37
38
  }
38
39
  export declare function createShader(engine: Engine): SharedShaderWithSource;
@@ -54,6 +54,7 @@ export declare class SpineVFXItem extends VFXItem<SpineContent> {
54
54
  doCreateContent(): SpineContent;
55
55
  onLifetimeBegin(): void;
56
56
  onItemUpdate(dt: number, lifetime: number): void;
57
+ onItemRemoved(): void;
57
58
  onEnd(): void;
58
59
  handleVisibleChanged(hide: boolean): void;
59
60
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-plugin-spine",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Galacean Effects player spine plugin",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "fpsmeter": "^0.3.1",
32
- "@galacean/effects": "1.1.7"
32
+ "@galacean/effects": "1.1.8"
33
33
  },
34
34
  "scripts": {
35
35
  "dev": "vite",