Class JSC3D.LoaderSelector
LoaderSelector
Defined in: jsc3d.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
JSC3D.LoaderSelector.getLoader(fileExtName)
Get the proper loader for a target file format using the file extension name.
|
<static> |
JSC3D.LoaderSelector.registerLoader(fileExtName, loaderCtor)
Register a scene loader for a specific file format, using the file extesion name for lookup.
|
Method Detail
<static>
{Object}
JSC3D.LoaderSelector.getLoader(fileExtName)
Get the proper loader for a target file format using the file extension name.
- Parameters:
- {String} fileExtName
- file extension name for the specific format.
- Returns:
- {Object} loader object for the specific format; null if not found.
<static>
JSC3D.LoaderSelector.registerLoader(fileExtName, loaderCtor)
Register a scene loader for a specific file format, using the file extesion name for lookup.
- Parameters:
- {String} fileExtName
- extension name for the specific file format.
- {Function} loaderCtor
- constructor of the loader class.