|
AsImpL 1.0
Asynchronous Importer and run-time Loader for Unity
|
Load the objects in the given list with their parameters and positions. More...
Public Member Functions | |
| void | ImportModelListAsync (ModelImportInfo[] modelsInfo) |
| Load a set of files with their own import options More... | |
Public Member Functions inherited from AsImpL.ObjectImporter | |
| void | ImportModelAsync (string objName, string filePath, Transform parentObj, ImportOptions options) |
| Request to load a file asynchronously. More... | |
| virtual void | UpdateStatus () |
| Update the loading/importing status More... | |
Public Attributes | |
| bool | autoLoadOnStart = false |
| List< ModelImportInfo > | objectsList = new List<ModelImportInfo>() |
| ImportOptions | defaultImportOptions = new ImportOptions() |
Protected Member Functions | |
| virtual void | Start () |
| Import the list of objects in objectList. More... | |
Protected Member Functions inherited from AsImpL.ObjectImporter | |
| virtual void | Update () |
| virtual void | OnImportingComplete () |
| Called when finished importing. More... | |
| virtual void | OnModelCreated (GameObject obj, string absolutePath) |
| Called when each model has been created and before it is imported. More... | |
| virtual void | OnImported (GameObject obj, string absolutePath) |
| Called when each model has been imported. More... | |
| virtual void | OnImportError (string absolutePath) |
| Called when a model import fails. More... | |
Properties | |
| string? | RootPath [get] |
Properties inherited from AsImpL.ObjectImporter | |
| int | NumImportRequests [get] |
| Number of pending import activities. More... | |
Additional Inherited Members | |
Protected Attributes inherited from AsImpL.ObjectImporter | |
| int | numTotalImports = 0 |
| bool | allLoaded = false |
| ImportOptions | buildOptions |
| List< Loader > | loaderList |
Events inherited from AsImpL.ObjectImporter | |
| Action | ImportingStart |
| Event triggered when starting to import. More... | |
| Action | ImportingComplete |
| Event triggered when finished importing. More... | |
| Action< GameObject, string > | CreatedModel |
| Event triggered when a single model has been created and before it is imported. More... | |
| Action< GameObject, string > | ImportedModel |
| Event triggered when a single model has been successfully imported. More... | |
| Action< string > | ImportError |
| Event triggered when an error occurred importing a model. More... | |
Load the objects in the given list with their parameters and positions.
| void AsImpL.MultiObjectImporter.ImportModelListAsync | ( | ModelImportInfo[] | modelsInfo | ) |
Load a set of files with their own import options
| modelsInfo | List of file import entries |
|
protectedvirtual |
Import the list of objects in objectList.
| bool AsImpL.MultiObjectImporter.autoLoadOnStart = false |
| ImportOptions AsImpL.MultiObjectImporter.defaultImportOptions = new ImportOptions() |
| List<ModelImportInfo> AsImpL.MultiObjectImporter.objectsList = new List<ModelImportInfo>() |
|
get |