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 = parseAnimationCurveNodes();

  parseAnimationCurves(curveNodesMap);

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

  return rawClips;
}