Vixen
02b45cc4
csharp
public readonly record struct ImportProgress

One asset the import has finished with.

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

Remarks

Carries the whole outcome rather than a path and a percentage, because what a caller wants to say about an asset differs: a progress bar wants the fraction, a verbose console log wants whether it was cached and which importer claimed it.

Fields and properties (3)

  • public float Fraction

    How far through the import this leaves it, from zero to one.

  • public string Path

    Which asset, project-relative.

  • public ImportOutcome Outcome

    What happened to it.

Methods (1)

  • public ImportProgress(float Fraction, string Path, ImportOutcome Outcome)

    One asset the import has finished with.

Used by (4)

  • ContentPipelineVixen.Editor.Assets
  • ContentPipelineTestsVixen.Editor.Assets.Tests
  • ContentTasksVixen.Editor.App
  • ImportRunnerVixen.Cli