Vixen
02b45cc4
csharp
public sealed class ShapeVocabularyDocument

A project's shape vocabulary, open for editing.

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

Remarks

The first file anybody makes and the one that had no editor at all. A vocabulary is what turns "somebody called it palm-l on this body and left-palm on that one" from an invisible bug into an import error — and until this existed it could only be written in a text editor outside Vixen, which is a poor first step for the file that every later step is checked against.

⚠ Three lists rather than one. A term is a name a shape may have, a tag is something a shape may afford, and a class is a body plan that requires certain terms. They are edited together because a class member naming an undeclared term is the mistake the file exists to prevent, and it is only visible when both are in front of you.

Fields and properties (4)

  • public const string Extension

    What a vocabulary is written as.

  • public string AssetPath

    Where the file is, absolute.

  • public ShapeVocabularyContent Vocabulary

    The vocabulary.

  • public string? LoadError

    Why the file would not read, or .

Events (1)

Methods (15)

Used by (3)

  • ShapeVocabularyEditorFactoryVixen.Editor.AssetEditors
  • ShapeVocabularyTestsVixen.Editor.AssetEditors.Tests
  • ShapeVocabularyViewVixen.Editor.AssetEditors