@galacean/engine-spine 0.0.0-experimental-engine-spine-4.2.1 → 0.0.0-experimental-engine-spine-2025420

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.
@@ -10919,8 +10919,10 @@ var SubRenderItem = function SubRenderItem() {
10919
10919
  this.buildPrimitive(skeleton, renderer);
10920
10920
  return;
10921
10921
  }
10922
- renderer._vertexBuffer.setData(_vertices);
10923
- renderer._indexBuffer.setData(_indices);
10922
+ if (renderer._vertexBuffer) {
10923
+ renderer._vertexBuffer.setData(_vertices);
10924
+ renderer._indexBuffer.setData(_indices);
10925
+ }
10924
10926
  };
10925
10927
  _proto.addSeparateSlot = function addSeparateSlot(slotName) {
10926
10928
  this._separateSlots.set(slotName, slotName);
@@ -11001,8 +11003,8 @@ SpineMaterial._spineFS = "\n uniform sampler2D material_SpineTexture;\n\n
11001
11003
  function SpineAnimationRenderer(entity) {
11002
11004
  var _this;
11003
11005
  _this = Renderer.call(this, entity) || this, /**
11004
- * The spacing between z layers.
11005
- */ _this.zSpacing = 0.01, /**
11006
+ * The spacing between z layers in world units.
11007
+ */ _this.zSpacing = 0.001, /**
11006
11008
  * Whether to use premultiplied alpha mode for rendering.
11007
11009
  * When enabled, vertex color values are multiplied by the alpha channel.
11008
11010
  * @remarks
@@ -11633,7 +11635,7 @@ for(var key in RendererObject){
11633
11635
  for(var key1 in LoaderObject){
11634
11636
  miniprogram.Loader.registerClass(key1, LoaderObject[key1]);
11635
11637
  }
11636
- var version = "0.0.0-experimental-engine-spine-4.2.1";
11638
+ var version = "0.0.0-experimental-engine-spine-2025420";
11637
11639
  console.log("Galacean spine version: " + version);
11638
11640
 
11639
11641
  exports.AlphaTimeline = AlphaTimeline;
package/dist/module.js CHANGED
@@ -10914,8 +10914,10 @@ var SubRenderItem = function SubRenderItem() {
10914
10914
  this.buildPrimitive(skeleton, renderer);
10915
10915
  return;
10916
10916
  }
10917
- renderer._vertexBuffer.setData(_vertices);
10918
- renderer._indexBuffer.setData(_indices);
10917
+ if (renderer._vertexBuffer) {
10918
+ renderer._vertexBuffer.setData(_vertices);
10919
+ renderer._indexBuffer.setData(_indices);
10920
+ }
10919
10921
  };
10920
10922
  _proto.addSeparateSlot = function addSeparateSlot(slotName) {
10921
10923
  this._separateSlots.set(slotName, slotName);
@@ -10996,8 +10998,8 @@ SpineMaterial._spineFS = "\n uniform sampler2D material_SpineTexture;\n\n
10996
10998
  function SpineAnimationRenderer(entity) {
10997
10999
  var _this;
10998
11000
  _this = Renderer.call(this, entity) || this, /**
10999
- * The spacing between z layers.
11000
- */ _this.zSpacing = 0.01, /**
11001
+ * The spacing between z layers in world units.
11002
+ */ _this.zSpacing = 0.001, /**
11001
11003
  * Whether to use premultiplied alpha mode for rendering.
11002
11004
  * When enabled, vertex color values are multiplied by the alpha channel.
11003
11005
  * @remarks
@@ -11628,7 +11630,7 @@ for(var key in RendererObject){
11628
11630
  for(var key1 in LoaderObject){
11629
11631
  Loader.registerClass(key1, LoaderObject[key1]);
11630
11632
  }
11631
- var version = "0.0.0-experimental-engine-spine-4.2.1";
11633
+ var version = "0.0.0-experimental-engine-spine-2025420";
11632
11634
  console.log("Galacean spine version: " + version);
11633
11635
 
11634
11636
  export { AlphaTimeline, Animation, AnimationState, AnimationStateAdapter, AnimationStateData, AssetManagerBase, AtlasAttachmentLoader, Attachment, AttachmentTimeline, BinaryInput, BlendMode, Bone, BoneData, BoundingBoxAttachment, CURRENT, ClippingAttachment, Color, ConstraintData, CurveTimeline, CurveTimeline1, CurveTimeline2, DebugUtils, DeformTimeline, Downloader, DrawOrderTimeline, Event, EventData, EventQueue, EventTimeline, EventType, FIRST, FakeTexture, HOLD_FIRST, HOLD_MIX, HOLD_SUBSEQUENT, IkConstraint, IkConstraintData, IkConstraintTimeline, Inherit, InheritTimeline, IntSet, Interpolation, LoaderUtils, MathUtils, MeshAttachment, MixBlend, MixDirection, PathAttachment, PathConstraint, PathConstraintData, PathConstraintMixTimeline, PathConstraintPositionTimeline, PathConstraintSpacingTimeline, Physics, PhysicsConstraintDampingTimeline, PhysicsConstraintGravityTimeline, PhysicsConstraintInertiaTimeline, PhysicsConstraintMassTimeline, PhysicsConstraintMixTimeline, PhysicsConstraintResetTimeline, PhysicsConstraintStrengthTimeline, PhysicsConstraintTimeline, PhysicsConstraintWindTimeline, PointAttachment, Pool, PositionMode, Pow, PowOut, 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, SpineAnimationRenderer, SpineMaterial, SpineResource, StringSet, Texture, TextureAtlas, TextureAtlasPage, TextureAtlasRegion, TextureFilter, TextureRegion, TextureWrap, TimeKeeper, Timeline, TrackEntry, TransformConstraint, TransformConstraintData, TransformConstraintTimeline, TranslateTimeline, TranslateXTimeline, TranslateYTimeline, Triangulator, Utils, Vector2, VertexAttachment, WindowedMean, version };