csharp
public interface IAssetImporterAnything that turns a source file into artefacts.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (4)
string NameWhat it is called in a .meta file and in the cache key — its settings type's [DataContract] name.
int VersionIts own version. Bumping it invalidates every artefact it has ever produced, which is the whole mechanism for "I fixed the mip filter, re-import everything".
Type SettingsTypeWhat its settings are.
IReadOnlyList<string> ExtensionsWhich extensions it claims.
Methods (2)
IImportSettings CreateSettings()Makes a settings object with every default in place.
ValueTask<ImportResult> ImportAsync(ImportContext context, CancellationToken cancellationToken = default(CancellationToken))Imports one asset.
Used by (30)
- AssetEditorRegistryTestsVixen.Editor.AssetEditors.Tests
- AssetImporterVixen.Editor.Assets
- AssetPickerVixen.Editor.App
- ConstraintAuthoringImporterTestsVixen.Editor.Assets.Tests
- CreateMenuTestsVixen.Editor.App.Tests
- CubeLutTestsVixen.Editor.Assets.Tests
- DdsImportTestsVixen.Editor.Assets.Tests
- EditorScriptTestsVixen.Editor.Scripts.Tests
- EveryAttributedImporterTestsVixen.Editor.Assets.Tests
- ImportPipelineVixen.Editor.Assets
- ImportPipelineTestsVixen.Editor.Assets.Tests
- ImporterContributionTestsVixen.Editor.Assets.Tests
- ImporterContributionsVixen.Editor.Assets
- ImporterRegistryVixen.Editor.Assets
- ImporterRegistryTestsVixen.Editor.Assets.Tests
- ImporterTestsVixen.Editor.Assets.Tests
- ImporterUnknownKeyTestsVixen.Editor.Assets.Tests
- InProcessImportExecutorVixen.Editor.Assets
- NetworkRulesImporterTestsVixen.Editor.Assets.Tests
- PluginImporterTestsVixen.AssetCompiler.Tests
- PluginImportersVixen.AssetCompiler
- PreparedVixen.Editor.Assets
- ProjectPluginsVixen.Cli
- RemovalVixen.Editor.Assets
- ScriptModuleVixen.Editor.Scripts
- ShaderGraphSourceTestsVixen.Editor.Assets.Tests
- TextureImporterTestsVixen.Editor.Assets.Tests
- UnclaimedPlacementExtensionTestsVixen.Editor.Assets.Tests
- UnimportedFormatTestsVixen.Editor.Assets.Tests
- WaterWavesImporterTestsVixen.Editor.Assets.Tests