Function registerGLTFExtension
-
registerGLTFExtension(
name: string,
isGLTFExtension: boolean,
factory: GLTFExtensionFactory,
): voidParameters
- name: string
The name of the loader extension.
- isGLTFExtension: boolean
If the loader extension is a glTF extension, then it will only be used for glTF files that use the corresponding glTF extension. Otherwise, it will be used for all loaded glTF files.
- factory: GLTFExtensionFactory
The factory function that creates the loader extension.
Returns void
- name: string
Registers a loader extension.