AnimationCurve.SmoothTangents

Declaration

public void SmoothTangents(int index, float weight);

Parameters

index The index of the keyframe to be smoothed.
weight The 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: