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.