Changes a slot's Slot.color
and Slot.darkColor
for two color tinting.
Static variables
Constructor
Variables
finalframes:Array<Float>
The time in seconds, red, green, blue, and alpha values of the color, red, green, blue of the dark color, for each key frame.
slotIndex:Int
The index of the slot in Skeleton.slots
that will be changed. The Slot.darkColor
must not be null.
Methods
setFrame(frameIndex:Int, time:Float, r:Float, g:Float, b:Float, a:Float, r2:Float, g2:Float, b2:Float):Void
Sets the time in seconds, light, and dark colors for the specified key frame.