Vixen
02b45cc4
csharp
public readonly record struct AssetEntry

What the database knows about one asset without opening its importer's settings.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Deliberately only the envelope. The whole point of the index is that a project's worth of sidecars can be read without parsing a project's worth of importer settings; an entry that carried the settings would make that impossible.

Fields and properties (6)

  • public AssetId Guid

    Its identity.

  • public string Path

    Where it is, project-relative with forward slashes.

  • public string? ImporterTag

    Which importer claims it, or if it says none yet.

  • public int MetaVersion

    Which envelope schema version its sidecar was written against.

  • public bool IsFolder

    Whether it is a folder rather than a file.

  • public string Name

    The file name, with its extension.

Methods (1)

  • public AssetEntry(AssetId Guid, string Path, string? ImporterTag, int MetaVersion, bool IsFolder)

    What the database knows about one asset without opening its importer's settings.

Used by (40)

  • AddressableGroupEditorFactoryVixen.Editor.AssetEditors
  • AddressableGroupsViewVixen.Editor.AssetEditors
  • AnimationBinderVixen.Editor.AssetEditors
  • AnimationWiringTestsVixen.Editor.App.Tests
  • AssetDatabaseVixen.Editor.Core
  • AssetDatabaseTestsVixen.Editor.Core.Tests
  • AssetEditorRegistryVixen.Editor.AssetEditors
  • AssetEditorRegistryTestsVixen.Editor.AssetEditors.Tests
  • AssetOperationTestsVixen.Editor.Core.Tests
  • AssetOperationsVixen.Editor.Core
  • AssetPickerVixen.Editor.App
  • AssetPickerTestsVixen.Editor.App.Tests
  • AssetSearchSourceVixen.Editor.App
  • AssetTreeVixen.Editor.Core
  • AssetTreeTestsVixen.Editor.Core.Tests
  • AssetWatchTestsVixen.Editor.App.Tests
  • BuildPlannerVixen.Editor.Assets
  • ContentPipelineVixen.Editor.Assets
  • DoctorRunnerVixen.Cli
  • DropIntoFieldTestsVixen.Editor.App.Tests
  • DropIntoSceneTestsVixen.Editor.App.Tests
  • EditorApplicationVixen.Editor.App
  • FontDocumentVixen.Editor.AssetEditors
  • GridViewTestsVixen.Editor.App.Tests
  • ImportPipelineVixen.Editor.Assets
  • ImportPipelineTestsVixen.Editor.Assets.Tests
  • MilestoneE3TestsVixen.Editor.App.Tests
  • MilestoneE5TestsVixen.Editor.App.Tests
  • PlannedAssetVixen.Editor.Assets
  • PlannedProjectVixen.Editor.Assets.Tests
  • ProjectAssetVixen.Editor.App
  • ProjectBrowserVixen.Editor.App
  • ProjectMeshBakerVixen.Editor.App
  • ProjectTreeStateTestsVixen.Editor.App.Tests
  • ReferenceIndexVixen.Editor.Core
  • ScenarioTestsVixen.Editor.App.Tests
  • ShaderGraphSurfaceTestsVixen.Editor.App.Tests
  • TerrainModuleVixen.Editor.Terrain
  • ThumbnailCacheVixen.Editor.App
  • ThumbnailTestsVixen.Editor.App.Tests