Vixen
caa30e12
csharp
public record class FuzzImportSettings

An importer's settings, so that the seeds can carry a type tag.

Read the guide page for this →

Remarks

⚠ Declared here rather than referenced, and the reason is that a tag nothing claims is a seed that dies at the last of three layers. The real settings types live in Vixen.Editor.Assets, which this project has no business referencing — but !TextureImporter is resolved through TypeRegistry, so a sidecar carrying that tag binds to nothing in a build that does not contain one and every such seed comes back a YamlBindingException. The polymorphic path would then be seeded only by its own failure, which is the mistake the heightmap seeds record: a seed that is rejected seeds nothing.

Deliberately small. What is under test is the envelope, the tag resolution and the binder's handling of a nested block — not this record's fields, which only have to be enough of a block for a mutator to break.

Fields and properties (4)

  • public int Version

    The importer's own version. Bumping it invalidates every artefact that importer produced.

  • public int MaxSize

    How large the imported texture may be.

  • public bool GenerateMips

    Whether mip levels are generated.

  • public IReadOnlyList<SubAssetRename> SubAssetNames

    What the author renamed the parts to.

Used by (3)

  • AssetMetaTargetVixen.Fuzz
  • TypeRegistrationVixen.Fuzz
  • Vixen_Fuzz_Targets_FuzzImportSettingsSerializerVixen.Fuzz