Inheritance: Loader →
A loader for loading node objects in the three.js JSON Object/Scene format.
Constructs a new node loader.
manager
A reference to a loading manager.
Represents a dictionary of node types.
Represents a dictionary of textures.
Creates a node object from the given type.
type
The node type.
Returns: The created node instance.
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
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
Returns: The parsed node.