Spine2DLoader

View source

Extends Loader

Loads the subset of Spine 4 JSON exports supported by the current 2D renderer: the default skin, mesh attachments, Bone2D transforms, Skin2D weights, and translate/rotate animation timelines.

The caller supplies the JSON and atlas paths as paths[0] and paths[1]. The image path is read from the atlas page header.

Constructor


constructor ( options?: object )

View source

Parameters

Name Description Default
options? — {}

Properties


Methods


copyFn ( destination: Object2D , source: Object2D ) : void

View source

Parameters

Name Description Default
destination — —
source — —