A loader for loading objects in JSON format.
default — null. If set, assigns the crossOrigin attribute of the image to the value of crossOrigin, prior to starting the load.
Will be called when load completes. The default is a function with empty body.
Will be called while load progresses. The default is a function with empty body.
Will be called when load starts. The default is a function with empty body.
If true, show loading status in the statusDomElement.
This is the recipient of status messages.
HTMLElement
boolean
string
Material[]
If not specified, textures will be assumed to be in the same folder as the Javascript model file.
boolean
any