AttachmentLoader

spine.attachments.AttachmentLoader (Interface) → AtlasAttachmentLoader

The interface which can be implemented to customize creating and populating attachments.

See Loading skeleton data in the Spine Runtimes Guide.

Instance Members

spine
newRegionAttachment(skin: spine.Skin, name: String, path: String): RegionAttachment
Name Type
skin spine.Skin
name String
path String
Returns Description
RegionAttachment May be null to not load the attachment.

spine
newMeshAttachment(skin: spine.Skin, name: String, path: String): MeshAttachment
Name Type
skin spine.Skin
name String
path String
Returns Description
MeshAttachment May be null to not load the attachment. In that case null should also be returned for child meshes.

spine
newBoundingBoxAttachment(skin: spine.Skin, name: String): BoundingBoxAttachment
Name Type
skin spine.Skin
name String
Returns Description
BoundingBoxAttachment May be null to not load the attachment.

spine
newClippingAttachment(skin: spine.Skin, name: String): ClippingAttachment
Name Type
skin spine.Skin
name String
Returns Description
ClippingAttachment May be null to not load the attachment.

spine
newPathAttachment(skin: spine.Skin, name: String): PathAttachment
Name Type
skin spine.Skin
name String
Returns Description
PathAttachment May be null to not load the attachment.

spine
newPointAttachment(skin: spine.Skin, name: String): PointAttachment
Name Type
skin spine.Skin
name String
Returns Description
PointAttachment May be null to not load the attachment.