class spinehx.Skin

Available on all platforms

Stores attachments by slot index and attachment name.

Instance Fields

function new(name:String):Void

function addAttachment(slotIndex:Int, name:String, attachment:Attachment):Void

function attachAll(skeleton:Skeleton, oldSkin:Skin):Void

Attach each attachment in this skin if the corresponding attachment in the old skin is currently attached.

function clear():Void

function findAttachmentsForSlot(slotIndex:Int, attachments:Array<Attachment>):Void

function findNamesForSlot(slotIndex:Int, names:Array<String>):Void

function getAttachment(slotIndex:Int, name:String):Attachment

returns

May be null.

function getName():String

function toString():String