Vixen
02b45cc4
csharp
public interface IClipMetadataExtension

A project's own kind of clip metadata, authored on the same timeline.

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

Remarks

The last of doc 34's Part 4 seams, and the one that was named without being built. A clip's extensions block already round-trips anything this build does not understand — that is P0's contract and it holds without any of this. What it cannot do on its own is let a project's kind be checked or shown: an unrecognised block is carried silently, so a typo in it survives the import, ships, and does nothing.

⚠ Registering a kind must never change whether it round-trips. A project that adds an extension and later removes the plugin has to get the same file back, so nothing here may rewrite a block — an extension reads and reports, and the bytes are the author's.

Fields and properties (1)

  • string Kind

    The key in the clip's extensions block this reads.

Methods (2)

  • string Describe(YamlNode node)

    One line for a panel, saying what the block holds.

  • bool Validate(YamlNode node, ICollection<string> problems)

    Says what is wrong with the block, if anything.

Used by (3)

  • BudgetTestExtensionVixen.Editor.Assets.Tests
  • ClipMetadataExtensionsVixen.Editor.Assets
  • ClipNotesExtensionVixen.Editor.Assets