Base class for loading skeleton data from a file.

See JSON and binary data in the Spine Runtimes Guide.

Constructor

new(attachmentLoader:AttachmentLoader)

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

See Loading skeleton data in the Spine Runtimes Guide.

Variables

@:value(1)scale:Float = 1

@:value(new Array())linkedMeshes:Array<LinkedMesh> = new Array()

Methods

getScale():Float

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.