Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimationCurve.SmoothTangents

SmoothTangents(index: int, weight: float): void;
void SmoothTangents(int index, float weight);
def SmoothTangents(index as int, weight as float) as void

Description

Smooth the in and out tangents of the keyframe at index.

A weight of 0 evens out tangents.