Vixen
02b45cc4
csharp
public sealed class ConstraintTemplateContent

A named, versioned bundle of tags with relative timings.

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

Remarks

A seated interaction is twenty constraints and nobody authors twenty constraints repeatedly. This is the thing that makes the authoring cost bearable, and Revision is what makes it maintainable: a template that improves can be pushed back across every clip that used it, with a diff first.

⚠ Timings are relative to the template's own span, in [0, 1]. A template applied over the last three seconds of a ten-second clip has to place its tags inside those three seconds, and a template that stored absolute phases would only ever fit the clip it was captured from.

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 template is called. Written into every tag it produces.

  • public int Revision

    The template's own version, bumped whenever it is re-saved.

  • public string Meaning

    What it is for, in a sentence an author picking from a list can read.

  • public List<ConstraintTagRecord> Tags

    The tags, with Begin and End relative to the template's own span.

  • public Dictionary<string, string> Extensions

    Markup this build did not interpret.

Methods (4)

Used by (7)

  • AuthoringTestsVixen.Animation.Tests
  • TypeRegistrationVixen.Animation
  • Vixen_Animation_Constraints_ConstraintTemplateContentSerializerVixen.Animation
  • AnimationClipDocumentVixen.Editor.AssetEditors
  • AuthoringTestsVixen.Editor.AssetEditors.Tests
  • ConstraintAuthoringImporterTestsVixen.Editor.Assets.Tests
  • ConstraintTemplateImporterVixen.Editor.Assets