Header menu logo Nu

RGB2Timeline Type

Changes the RGB for a slot's !:Slot.Color and !:Slot.DarkColor for two color tinting.

Constructors

Constructor Description

RGB2Timeline(frameCount, bezierCount, slotIndex)

Full Usage: RGB2Timeline(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
    r2 : float32
    g2 : float32
    b2 : float32

Sets the time, light color, and dark 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
r2 : float32
g2 : float32
b2 : float32

this.SlotIndex

Full Usage: this.SlotIndex

Returns: int
Modifiers: abstract

The index of the slot in Skeleton.Slots that will be changed when this timeline is applied. The Slot must have a dark color available.

Returns: int

Type something to start searching.