Importer (interface)

The Importer interface is used to define a generic importer type. Spezialized classes such as the BaseImporter or the FbxImporter use it to provide a generic mechanism for importing files.

Importer Importer Importer BaseImporter BaseImporter BaseImporter->Importer AlembicImporter AlembicImporter AlembicImporter->BaseImporter FbxImporter FbxImporter FbxImporter->BaseImporter ObjImporter ObjImporter ObjImporter->BaseImporter

Functions

Ref<ImporterObject>[] getAllObjectRefs ? ()
ImporterObject[] getAllObjects ? ()
Ref<ImporterObject> getObjectFromID ? ( in String id )
Ref<ImporterObject> getObjectFromPath ? ( in String path )
Ref<ImporterObject>[] getObjectsByType ? ( in String type )
Ref<ImporterObject>[] getObjectsByTypeAndProperty ? ( in String type, in String key, in ImporterProperty prop )
Ref<ImporterObject> getOrCreateObject ! ( in String type, in String id, in String path )
Ref<ImporterObject>[] getOrCreateObjectArray ! ( in Size count, in String type, in String id, in String path )

Functions in detail

Ref<ImporterObject>[] Importer.getAllObjectRefs? ()

Returns all objects this importer contains.


ImporterObject[] Importer.getAllObjects? ()

Returns all objects this importer contains.


Ref<ImporterObject> Importer.getObjectFromID? ( in String id )

Returns an object based on the unique identifier - or null if it’s not found.


Ref<ImporterObject> Importer.getObjectFromPath? ( in String path )

Returns an object based on its path - or null if it’s not found.


Ref<ImporterObject>[] Importer.getObjectsByType? ( in String type )

Returns all objects of a given type this importer contains.


Ref<ImporterObject>[] Importer.getObjectsByTypeAndProperty? ( in String type, in String key, in ImporterProperty prop )

Returns all objects this importer contains matching a type as well as a property value.


Ref<ImporterObject> Importer.getOrCreateObject! ( in String type, in String id, in String path )

Gets or creates an objects inside of the importer.


Ref<ImporterObject>[] Importer.getOrCreateObjectArray! ( in Size count, in String type, in String id, in String path )

Gets or creates an array of objects inside of the importer.