Vixen
02b45cc4
csharp
public readonly record struct CurveSample

One key, as the evaluator reads it.

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

Remarks

⚠ Tangents are slopes, not control points. A slope survives the key being dragged in time — the shape either side stays what it was — where a control point stored as a position has to be moved with it, and every implementation that stores positions eventually forgets to in one of the six places a key can move.

Fields and properties (5)

  • public float Time

    When.

  • public float Value

    What.

  • public float InTangent

    The slope coming in, in value per unit of time.

  • public float OutTangent

    The slope going out.

  • public TangentMode Mode

    How the two behave.

Methods (1)

  • public CurveSample(float Time, float Value, float InTangent, float OutTangent, TangentMode Mode)

    One key, as the evaluator reads it.

Used by (4)

  • AnimationCurveVixen.Ui.Controls.Advanced
  • CurveEvaluationVixen.Core
  • AnimationClipAssetVixen.Editor.Assets
  • AnimationKeyDataVixen.Editor.Assets