class spinehx.Slot

Available on all platforms

Class Fields

static function copy(slot:Slot, skeleton:Skeleton, bone:Bone):Slot

Copy constructor.

Instance Fields

function new(data:SlotData, skeleton:Skeleton, bone:Bone):Void

function getAttachment():Attachment

returns

May be null.

function getAttachmentTime():Float

Returns the time since the attachment was set.

function getBone():Bone

function getColor():Color

function getData():SlotData

function setAttachment(attachment:Attachment):Void

Sets the attachment and resets {@link #getAttachmentTime()}. *

attachment

May be null.

function setToSetupPose(slotIndex:Int):Void

function toString():String