[name]

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.

.makeClipAdditive ( [param:AnimationClip targetClip], [param:Number referenceFrame], [param:AnimationClip referenceClip], [param:Number fps] ) : AnimationClip

Converts the keyframes of the given animation clip to an additive format.

.sortedArray ( values, stride, order ) : Array

Sorts the array previously returned by [page:AnimationUtils.getKeyframeOrder getKeyframeOrder].

.subclip ( [param:AnimationClip clip], [param:String name], [param:Number startFrame], [param:Number endFrame], [param:Number fps] ) : AnimationClip

Creates a new clip, containing only the segment of the original clip between the given frames.

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

AnimationUtils AnimationUtils AnimationUtils AnimationUtils

AnimationUtils AnimationUtils AnimationUtils AnimationUtils