parseClips method

dynamic parseClips()

Implementation

parseClips() {

	// since the actual transformation data is stored in FBXTree.Objects.AnimationCurve,
	// if this is null we can safely assume there are no animations
	if ( fbxTree.Objects["AnimationCurve"] == null ) return null;

	var curveNodesMap = this.parseAnimationCurveNodes();

	this.parseAnimationCurves( curveNodesMap );

	var layersMap = this.parseAnimationLayers( curveNodesMap );
	var rawClips = this.parseAnimStacks( layersMap );

	return rawClips;

}