examples/FBXLoader.js
function ( textureMap ) {

			var materialMap = new Map();

			if ( 'Material' in fbxTree.Objects ) {

				var materialNodes = fbxTree.Objects.Material;

				for ( var nodeID in materialNodes ) {

					var material = this.parseMaterial( materialNodes[ nodeID ], textureMap );

					if ( material !== null ) materialMap.set( parseInt( nodeID ), material );

				}

			}

			return materialMap;

		}
function ( textureMap ) {

			var materialMap = new Map();

			if ( 'Material' in fbxTree.Objects ) {

				var materialNodes = fbxTree.Objects.Material;

				for ( var nodeID in materialNodes ) {

					var material = this.parseMaterial( materialNodes[ nodeID ], textureMap );

					if ( material !== null ) materialMap.set( parseInt( nodeID ), material );

				}

			}

			return materialMap;

		}
function ( textureMap ) { var materialMap = new Map ( ) ; if ( 'Material' in fbxTree . Objects ) { var materialNodes = fbxTree . Objects . Material ; for ( var nodeID in materialNodes ) { var material = this . parseMaterial ( materialNodes [ nodeID ] , textureMap ) ; if ( material !== null ) materialMap . set ( parseInt ( nodeID ) , material ) ; } } return materialMap ; }
Parse nodes in FBXTree.Objects.Material
Parse nodes in FBXTree . Objects . Material