AnimChannel:SetKeyInterpByID(id, interpMode, val1, val2)

Version added: before 9.5

Sets the interpolation mode for a specified keyframe

ArgumentTypeDescriptionDefaultVersion added
idint32Keyframe idbefore 9.5
interpModeint32Interpolation modebefore 9.5
val1realSupplemental value 1before 9.5
val2realSupplemental value 2before 9.5

Return type : none

Sets the interpolation mode for a specified keyframe. See the available interpolation mode constants.