Loads skeleton data in the Spine binary format.

See Spine binary format and JSON and binary data in the Spine Runtimes Guide.

Constructor

new(attachmentLoader:AttachmentLoader)

Variables

@:value(1.0)scale:Float = 1.0

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.

Methods

readSkeletonData(binary:Bytes):SkeletonData

Deserializes the Spine binary data into a SkeletonData object.