Vixen
02b45cc4
csharp
public readonly record struct ConstraintProposal

A constraint the editor thinks the animator meant, for a person to accept or reject.

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

Remarks

⚠ A proposal is never applied silently, and the type exists to make that structural. The pass returns descriptions of what it noticed; adding them is a separate call somebody makes. An editor that marked up a clip on open would be an editor whose output nobody could review, and the failure mode of proximity heuristics is confident nonsense.

Fields and properties (5)

  • public ConstraintTagRecord Tag

    The tag it would add.

  • public Symbol Shape

    Which proxy shape it noticed.

  • public float Closest

    How near the effector got, in metres.

  • public float Drift

    How far it moved across the span, in metres.

  • public float Confidence

    How sure it is, in [0, 1] — near and still and long is one; far, drifting or brief is nearer zero.

Methods (1)

  • public ConstraintProposal(ConstraintTagRecord Tag, Symbol Shape, float Closest, float Drift, float Confidence)

    A constraint the editor thinks the animator meant, for a person to accept or reject.

Used by (5)

  • AuthoringTestsVixen.Animation.Tests
  • ConstraintProposalsVixen.Animation
  • AnimationClipDocumentVixen.Editor.AssetEditors
  • AnimationClipViewVixen.Editor.AssetEditors
  • AuthoringContextTestsVixen.Editor.AssetEditors.Tests