Settings object describing how a model import operation was configured.
Example
// ImportSettings is passed as an optional parameter to importExternalFile() // and importExternalFileAsync(). It has a protected constructor. constmodel = this.pluginSystem.findInterface(Editor.Model.IModel) asEditor.Model.IModel; constassetManager = model.project.assetManager;
// The full import signature: // assetManager.importExternalFile(sourcePath, destDir?, resultType?, importSettings?) // ImportSettings has a protected constructor -- the engine creates it internally. // After import, check importSettings.aborted to see if the user cancelled. constsourcePath = newEditor.Path('/tmp/my_model.fbx'); constresult = assetManager.importExternalFile(sourcePath);
Settings object describing how a model import operation was configured.
Example