Vixen
02b45cc4
csharp
public record class TemplateDiff

What re-applying a template would do to a clip, before it does it.

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

Remarks

⚠ The diff is the feature, not the apply. A template that silently rewrote twenty tags across forty clips is a template nobody dares re-save, so what an author gets is a list they can read and refuse. Edited is the line that matters: a tag the template made and a person then adjusted is work a re-apply would destroy, and it is called out separately from an ordinary change for exactly that reason.

Fields and properties (6)

  • public IReadOnlyList<TemplateChange> Changes

    Every tag it would touch.

  • public int Added

    How many tags it would add.

  • public int Removed

    How many it would remove.

  • public int Changed

    How many it would rewrite.

  • public int Edited

    How many hand edits it would destroy.

  • public bool IsEmpty

    Whether it would do nothing at all.

Methods (2)

  • public TemplateDiff(IReadOnlyList<TemplateChange> Changes)

    What re-applying a template would do to a clip, before it does it.

  • public override string ToString()

    Returns a string that represents the current object.

Used by (4)

  • AuthoringTestsVixen.Animation.Tests
  • ConstraintTemplateContentVixen.Animation
  • AnimationClipDocumentVixen.Editor.AssetEditors
  • AuthoringTestsVixen.Editor.AssetEditors.Tests