AnimationUtils

An object with various functions to assist with animations, used internally.

Methods

.arraySlice (array, from, to) : Array

This is the same as Array.prototype.slice, but also works on typed arrays.

.convertArray (array, type, forceClone) : Array

Converts an array to a specific type.

.flattenJSON (jsonKeys, times, values, valuePropertyName ) : Array

Used for parsing AOS keyframe formats.

.getKeyframeOrder (times) : Array

Returns an array by which times and values can be sorted.

.isTypedArray (object) : Boolean

Returns true if the object is a typed array.

.sortedArray (values, stride, order) : Array

Sorts the array previously returned by getKeyframeOrder.

Source

For more info on how to obtain the source code of this module see this page.