@galacean/engine-spine 0.0.0-experimental-2024071601 → 0.0.0-experimental-2024071602

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.0-experimental-2024071601",
2
+ "version": "0.0.0-experimental-2024071602",
3
3
  "description": "galacean spine runtime",
4
4
  "name": "@galacean/engine-spine",
5
5
  "main": "dist/main.js",
@@ -1,7 +1,7 @@
1
1
  import { Skeleton, SkeletonData, AnimationState, AnimationStateData } from "@esotericsoftware/spine-core";
2
2
  import { Buffer, Renderer, Entity, Material, Engine, BoundingBox, Primitive, SubPrimitive } from "@galacean/engine";
3
3
  import { SkeletonDataResource } from "./loader/SkeletonDataResource";
4
- interface InitialState {
4
+ interface DefaultState {
5
5
  animationName: string;
6
6
  skinName: string;
7
7
  loop: boolean;
@@ -23,7 +23,7 @@ export declare class SpineAnimation extends Renderer {
23
23
  /** Render setting for spine rendering. */
24
24
  setting: SpineRenderSetting;
25
25
  /** Initial spine animation and skin state. */
26
- initialState: InitialState;
26
+ defaultState: DefaultState;
27
27
  /** @internal */
28
28
  _primitive: Primitive;
29
29
  /** @internal */
@@ -124,6 +124,7 @@ export declare class SpineAnimation extends Renderer {
124
124
  private onAnimationStart;
125
125
  private onAnimationComplete;
126
126
  private _clearMaterialCache;
127
+ private _initializeDefaultState;
127
128
  }
128
129
  /**
129
130
  * @internal