Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

AnimationCurve.SmoothTangents

Switch to Manual
public function SmoothTangents(index: int, weight: float): void;

Parameters

Description

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

A weight of 0 evens out tangents.