Vixen
02b45cc4
csharp
public sealed class ClipMetadataExtensions

The metadata kinds a build understands. Everything else is carried and not read.

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

Remarks

⚠ Told rather than discovered, for BuiltInImporters's reason: a scan would make "which kinds did this build check" a question with a different answer in the editor and in a worker process, and the disagreement shows up as a file that imports clean on one machine and complains on another.

Fields and properties (2)

  • public static ClipMetadataExtensions Default

    The set a build ships with.

  • public int Count

    How many kinds it knows.

Methods (3)

  • public ClipMetadataExtensions Add(IClipMetadataExtension extension)

    Registers a kind.

  • public IClipMetadataExtension? For(string kind)

    The extension for a kind, or if nothing reads it.

  • public bool Check(IReadOnlyDictionary<string, YamlNode> blocks, ICollection<string> problems, ICollection<string>? unread = null)

    Checks every block a clip carries, and says which ones nobody reads.

Used by (2)

  • AnimationClipImporterVixen.Editor.Assets
  • ClipMetadataTestsVixen.Editor.Assets.Tests