Header menu logo Nu

AttachmentTimeline Type

Changes a slot's Slot.Attachment.

Constructors

Constructor Description

AttachmentTimeline(frameCount, slotIndex)

Full Usage: AttachmentTimeline(frameCount, slotIndex)

Parameters:
    frameCount : int
    slotIndex : int

frameCount : int
slotIndex : int

Instance members

Instance member Description

this.Apply

Full Usage: this.Apply

Parameters:
Modifiers: abstract
skeleton : Skeleton
lastTime : float32
time : float32
firedEvents : ExposedList<Event>
alpha : float32
blend : MixBlend
direction : MixDirection

this.AttachmentNames

Full Usage: this.AttachmentNames

Returns: string[]

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

Returns: string[]

this.SetFrame

Full Usage: this.SetFrame

Parameters:
    frame : int - Between 0 and frameCount, inclusive.
    time : float32 - The frame time in seconds.
    attachmentName : string

Sets the time and attachment name for the specified frame.

frame : int

Between 0 and frameCount, inclusive.

time : float32

The frame time in seconds.

attachmentName : string

this.SlotIndex

Full Usage: this.SlotIndex

Returns: int
Modifiers: abstract
Returns: int

Type something to start searching.