Options
All
  • Public
  • Public/Protected
  • All
Menu

SpineManager manages pixi spine skeleton data.

Hierarchy

  • SpineManager

Implements

Index

Constructors

Methods

  • getResourceKinds(): ResourceKind[]
  • getSpine(resourceName: string): null | ISkeletonData<IBoneData, ISlotData, ISkin, IAnimation<ITimeline>, IEventData, IIkConstraintData, ITransformConstraintData, IPathConstraintData>
  • Get the object for the given resource that is already loaded (preloaded or loaded with loadJson). If the resource is not loaded, null will be returned.

    Parameters

    • resourceName: string

      The name of the spine skeleton.

    Returns null | ISkeletonData<IBoneData, ISlotData, ISkin, IAnimation<ITimeline>, IEventData, IIkConstraintData, ITransformConstraintData, IPathConstraintData>

    the spine skeleton if loaded, null otherwise.

  • isSpineLoaded(resourceName: string): boolean
  • Check if the given spine skeleton was loaded.

    Parameters

    • resourceName: string

      The name of the spine skeleton.

    Returns boolean

    true if the content of the spine skeleton is loaded, false otherwise.

  • loadResource(resourceName: string): Promise<void>
  • processResource(resourceName: string): Promise<void>

Generated using TypeDoc