AnimationCurve.SmoothTangents(number index, number weight)
Smooth the in and out tangents of the keyframe at index.
A weight of 0 evens out tangents.
Parameters:
Name | Type | Description |
---|---|---|
index | number | The index of the keyframe to be smoothed. |
weight | number | The smoothing weight to apply to the keyframe's tangents. |
Usage
---@type AnimationCurve
local animationcurve;
---@type number
local index;
---@type number
local weight;
animationcurve.SmoothTangents(index, weight)