FrameData#getFrameRange()

getFrameRange(start, end, output) → {Array}

Returns a range of frames based on the given start and end frame indexes and returns them in an Array.

Parameters
Name Type Argument Description
start number

The starting frame index.

end number

The ending frame index.

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 Frames between the start and end index values, or an empty array if none were found.

Source code: animation/FrameData.js (Line 135)
doc_phaser
2017-02-14 10:48:04
Comments
Leave a Comment

Please login to continue.