parseTextures method

dynamic parseTextures(
  1. dynamic images
)

Implementation

parseTextures(images) async {
  var textureMap = {};

  if (fbxTree.objects["Texture"] != null) {
    var textureNodes = fbxTree.objects["Texture"];
    for (var nodeID in textureNodes.keys) {
      var texture = await parseTexture(textureNodes[nodeID], images);
      textureMap[parseInt(nodeID)] = texture;
    }
  }

  return textureMap;
}