Vixen
02b45cc4
csharp
public sealed class ShapeVocabularyContent

A shape vocabulary, as a file holds it.

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

Remarks

⚠ This is the file [33 § D15](../../../docs/plan/33-character-creator.md) generates against. That document derives a shape set from a character archetype rather than authoring it, and a generator needs a specification of what to generate — the same one this validates against. Two documents needing the same declaration is the argument for it being one file rather than a convention in each.

Fields and properties (8)

  • public const int Current

    The version this build writes.

  • public const string Extension

    The file extension.

  • public int Version

    Which version of the format wrote it.

  • public string Name

    What the vocabulary is called.

  • public ShapeTermRecord[] Shapes

    The shape names it allows.

  • public ShapeTagRecord[] Tags

    The tags it allows.

  • public ShapeClassRecord[] Classes

    The classes it declares.

  • public Dictionary<string, string> Extensions

    Markup this build did not interpret.

Methods (2)

  • public IReadOnlyList<VocabularyProblem> Problems()

    What is wrong with the vocabulary itself, before any set is checked against it.

  • public ShapeVocabulary Bake()

    Turns it into the vocabulary a check runs against.

Used by (9)

  • TypeRegistrationVixen.Animation
  • Vixen_Animation_Constraints_ShapeVocabularyContentSerializerVixen.Animation
  • AnimationBinderVixen.Editor.AssetEditors
  • ProxyShapeImporterTestsVixen.Editor.Assets.Tests
  • ProxyShapeSetImporterVixen.Editor.Assets
  • ShapeVocabularyDocumentVixen.Editor.AssetEditors
  • ShapeVocabularyImporterVixen.Editor.Assets
  • ShapeVocabularyTestsVixen.Editor.AssetEditors.Tests
  • ShapeVocabularyViewVixen.Editor.AssetEditors