ConstraintTemplateImporter
csharp
public sealed class ConstraintTemplateImporterCompiles a .vxconstraints template.
No guide page documents this yet — the page shows what the code says about itself.
As a importer
- Extensions
- .vxconstraints
Remarks
A named, versioned bundle of tags with relative timings. The check is that the timings really are relative: a template whose tags run past one is a template captured from a clip and never re-based, and it will place its tags off the end of every clip it is applied to.
Fields and properties (2)
public const string TemplateTypeThe alias of the type this writes.
public override int VersionIts own version. Bumping it invalidates every artefact it has ever produced, which is the whole mechanism for "I fixed the mip filter, re-import everything".
Methods (1)
protected override ValueTask<ImportResult> ImportAsync(ImportContext context, ConstraintTemplateImportSettings settings, CancellationToken cancellationToken)Imports one asset.
Used by (2)
- BuiltInImportersVixen.Editor.Assets
- ConstraintAuthoringImporterTestsVixen.Editor.Assets.Tests