Appearance
anim-format (runtime format) / randomFrameList
Function: randomFrameList()
ts
function randomFrameList(a): string[];the frames a gotoRandom picks from: its range (0-based, both ends in) or its list
Parameters
| Parameter | Type |
|---|---|
a | { frames: string[]; range?: { from: number; to: number; }; } |
a.frames | string[] |
a.range? | { from: number; to: number; } |
a.range.from | number |
a.range.to | number |
Returns
string[]