Header menu logo Nu

RGBTimeline Type

Changes the RGB for a slot's !:Slot.Color.

Constructors

Constructor Description

RGBTimeline(frameCount, bezierCount, slotIndex)

Full Usage: RGBTimeline(frameCount, bezierCount, slotIndex)

Parameters:
    frameCount : int
    bezierCount : int
    slotIndex : int

frameCount : int
bezierCount : 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.FrameEntries

Full Usage: this.FrameEntries

Returns: int
Modifiers: abstract
Returns: int

this.SetFrame

Full Usage: this.SetFrame

Parameters:
    frame : int - Between 0 and frameCount, inclusive.
    time : float32 - The frame time in seconds.
    r : float32
    g : float32
    b : float32

Sets the time and color for the specified frame.

frame : int

Between 0 and frameCount, inclusive.

time : float32

The frame time in seconds.

r : float32
g : float32
b : float32

this.SlotIndex

Full Usage: this.SlotIndex

Returns: int
Modifiers: abstract
Returns: int

Type something to start searching.