Changes a slot's {@link Slot#getAttachment()}.

Constructor

new(frameCount:Int, slotIndex:Int)

Variables

Methods

getAttachmentNames():StringArray

The attachment name for each frame. May contain null values to clear the attachment.

setFrame(frame:Int, time:Float, attachmentName:String):Void

Sets the time and attachment name for the specified frame.

Parameters:

frame

Between 0 and frameCount, inclusive.

time

The frame time in seconds.

Inherited Variables

Inherited Methods

Defined by Timeline

getPropertyIds():StringArray

Uniquely encodes both the type of this timeline and the skeleton properties that it affects.

getFrames():FloatArray

The time in seconds and any other values for each frame.

getFrameEntries():Int

The number of entries stored per frame.