Vixen
02b45cc4
csharp
public interface IAssetImporter

Anything 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 Name

    What it is called in a .meta file and in the cache key — its settings type's [DataContract] name.

  • int Version

    Its 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 SettingsType

    What its settings are.

  • IReadOnlyList<string> Extensions

    Which 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 (18)

  • AssetEditorRegistryTestsVixen.Editor.AssetEditors.Tests
  • AssetImporterVixen.Editor.Assets
  • AssetPickerVixen.Editor.App
  • ConstraintAuthoringImporterTestsVixen.Editor.Assets.Tests
  • CreateMenuTestsVixen.Editor.App.Tests
  • EditorScriptTestsVixen.Editor.Scripts.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
  • InProcessImportExecutorVixen.Editor.Assets
  • PreparedVixen.Editor.Assets
  • RemovalVixen.Editor.Assets
  • ScriptModuleVixen.Editor.Scripts
  • TextureImporterTestsVixen.Editor.Assets.Tests