parse method

dynamic parse(
  1. dynamic deformers
)

Implementation

parse(deformers) {
  var geometryMap = {};

  if (fbxTree.objects["Geometry"] != null) {
    var geoNodes = fbxTree.objects["Geometry"];

    for (var nodeID in geoNodes.keys) {
      var relationships = connections[parseInt(nodeID)];
      var geo = parseGeometry(relationships, geoNodes[nodeID], deformers);

      geometryMap[parseInt(nodeID)] = geo;
    }
  }

  return geometryMap;
}