AnimationCurve.SmoothTangents

public void SmoothTangents(int index, float weight);

Parameters

indexThe index of the keyframe to be smoothed.
weightThe smoothing weight to apply to the keyframe's tangents.

Description

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

A weight of 0 evens out tangents.

Did you find this page useful? Please give it a rating: