Header menu logo Nu

SkeletonLoader Type

Base class for loading skeleton data from a file.

SeeJSON and binary data in the Spine Runtimes Guide.

Constructors

Constructor Description

SkeletonLoader(atlasArray)

Full Usage: SkeletonLoader(atlasArray)

Parameters:

Creates a skeleton loader that loads attachments using an AtlasAttachmentLoader with the specified atlas.

atlasArray : Atlas[]

SkeletonLoader(attachmentLoader)

Full Usage: SkeletonLoader(attachmentLoader)

Parameters:

Creates a skeleton loader that loads attachments using the specified attachment loader.

See Loading skeleton data in the Spine Runtimes Guide.

attachmentLoader : AttachmentLoader

Instance members

Instance member Description

this.ReadSkeletonData

Full Usage: this.ReadSkeletonData

Parameters:
    path : string

Returns: SkeletonData
Modifiers: abstract
path : string
Returns: SkeletonData

this.Scale

Full Usage: this.Scale

Scales bone positions, image sizes, and translations as they are loaded. This allows different size images to be used at runtime than were used in Spine.

See Scaling in the Spine Runtimes Guide.

Type something to start searching.