AbstractProtectedconstructorOptionalisInternalConstructor: booleanAbstractgetVirtual
Gets the description of the importer.
AbstractgetVirtual
Gets the name of the developer.
AbstractgetVirtual
Gets the name of the importer.
AbstractgetVirtual
Gets an array containing all supported extensions, in lowercase.
Virtual
Check if the provided magic number is supported by this importer.
Protected AbstractonVirtual
Creates import options specific for this importer. Import options are provided when calling onImport to customize the import, and provide additional information.
Virtual
Imports the given file. If file contains more than one resource only the primary resource is imported (for example for an FBX a mesh would be imported, but animations ignored).
The data of the source file to import from.
Pathname of the file, with file extension.
The operation progress.
Options that can control how is the resource imported.
Optional import information cache in case the file was peeked before importing.
A resource import result containing the resource or an error message.
Virtual
Imports the given file. This method returns all imported resources, which is relevant for files that can contain multiple resources (for example an FBX which may contain both a mesh and animations).
The data of the source file to import from.
Pathname of the file, with file extension.
The operation progress.
Options that can control how are the resources imported.
OptionalfilePeekInformation: ImportFileInformation
Optional import information cache in case the file was peeked before importing.
An array of imported resource, that might be successful of have failed. First element is always the primary resource.
Allows implementing resource importes from TypeScript code.