getFrameIndexes(frames, useNumericIndex, output) → {Array}
Returns all of the Frame indexes in this FrameData set.
The frames indexes are returned in the output array, or if none is provided in a new Array object.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
frames | Array | <optional> | An Array containing the indexes of the frames to retrieve. If undefined or the array is empty then all frames in the FrameData are returned. | |
useNumericIndex | boolean | <optional> | true | Are the given frames using numeric indexes (default) or strings? (false) |
output | Array | <optional> | If given the results will be appended to the end of this array otherwise a new array will be created. |
Returns
Array -
An array of all Frame indexes matching the given names or IDs.
- Source code: animation/FrameData.js (Line 204)
Please login to continue.