Vixen
02b45cc4
csharp
public sealed class AnimationKeyData

One key of one curve.

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

Remarks

The same five numbers CurveSample holds, because that is what evaluates them — a second key type that had to be translated at both ends would be a second place for the tangent convention to drift.

Fields and properties (5)

  • public float Time

    When it is, in seconds.

  • public float Value

    What the number is there.

  • public float InTangent

    The slope coming in.

  • public float OutTangent

    And going out.

  • public TangentMode Mode

    How the two are decided.

Methods (1)

  • public CurveSample ToSample()

    The key as the evaluator reads it.

Used by (7)

  • AnimationClipAssetVixen.Editor.Assets
  • AnimationClipCurvesVixen.Editor.AssetEditors
  • AnimationClipDocumentVixen.Editor.AssetEditors
  • AnimationClipViewVixen.Editor.AssetEditors
  • AnimationCurveDataVixen.Editor.Assets
  • AuthoringTestsVixen.Editor.AssetEditors.Tests
  • TypeRegistrationVixen.Editor.Assets