Vixen
02b45cc4
csharp
public static class AnimationClipCurves

Between a stored curve and the control that edits one.

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

Remarks

⚠ Two functions rather than a wrapper, and they are not symmetrical by accident. The control's AnimationCurve is mutable and raises events; the stored form is a record the YAML binder can write. Handing the editor a live view over the document would make dragging a key an untracked edit — the undo stack would have nothing to record — so the view copies out, edits, and commits through a command.

The stored types themselves are in Vixen.Editor.Assets. They moved there when AnimationClipImporter was written, because an importer cannot see this assembly — the dependency runs the other way — and the alternative was a second parser for the same format. What is left here is the part that is genuinely about the editor: the translation to and from the curve control.

Methods (4)

Used by (2)

  • AnimationClipDocumentVixen.Editor.AssetEditors
  • AnimationClipViewVixen.Editor.AssetEditors