parseTextures method

dynamic parseTextures(
  1. dynamic images
)

Implementation

parseTextures( images ) async {

	var textureMap = new Map();

	if ( fbxTree.Objects["Texture"] != null ) {

		var textureNodes = fbxTree.Objects["Texture"];
		for ( var nodeID in textureNodes.keys ) {

			var texture = await this.parseTexture( textureNodes[ nodeID ], images );
			textureMap[ parseInt( nodeID ) ] = texture;

		}

	}

	return textureMap;

}