csharp
public sealed class CurveKeyOne key of a curve.
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 TimeWhen.
public float ValueWhat.
public float InTangentThe slope coming in, in value per unit of time.
public float OutTangentThe slope going out.
public TangentMode ModeHow the two behave.
Methods (2)
public CurveKey(float time, float value, TangentMode mode = Auto)Creates a key.
public override string ToString()Returns a string that represents the current object.
Used by (7)
- AnimationCurveVixen.Ui.Controls.Advanced
- AnimationCurveTestsVixen.Ui.Controls.Advanced.Tests
- CurveEditorVixen.Ui.Controls.Advanced
- CurveEditorTestsVixen.Ui.Controls.Advanced.Tests
- TimelineLanesVixen.Ui.Controls.Advanced
- AnimationClipCurvesVixen.Editor.AssetEditors
- CurveDrawerVixen.Editor.Inspector