*Inheritance: Loader →* # NodeLoader A loader for loading node objects in the three.js JSON Object/Scene format. ## Constructor ### new NodeLoader( manager : LoadingManager ) Constructs a new node loader. **manager** A reference to a loading manager. ## Properties ### .nodes : Object. Represents a dictionary of node types. ### .textures : Object. Represents a dictionary of textures. ## Methods ### .createNodeFromType( type : string ) : Node Creates a node object from the given type. **type** The node type. **Returns:** The created node instance. ### .load( url : string, onLoad : function, onProgress : function, onError : function ) Loads the node definitions from the given URL. **url** The path/URL of the file to be loaded. **onLoad** Will be called when load completes. **onProgress** Will be called while load progresses. **onError** Will be called when errors are thrown during the loading process. **Overrides:** [Loader#load](Loader.html#load) ### .parse( json : Object ) : Node Parses the node from the given JSON. **json** The JSON definition **type** The node type. **uuid** The node UUID. **nodes** The node dependencies. **meta** The meta data. **Overrides:** [Loader#parse](Loader.html#parse) **Returns:** The parsed node. ### .parseNodes( json : Array. ) : Object. Parse the node dependencies for the loaded node. **json** The JSON definition **Returns:** A dictionary with node dependencies. ### .setNodes( value : Object. ) : NodeLoader Defines the dictionary of node types. **value** The node library defined as ``. **Returns:** A reference to this loader. ### .setTextures( value : Object. ) : NodeLoader Defines the dictionary of textures. **value** The texture library defines as ``. **Returns:** A reference to this loader. ## Source [src/loaders/nodes/NodeLoader.js](https://github.com/mrdoob/three.js/blob/master/src/loaders/nodes/NodeLoader.js)