@modoki/engine / index / applyTangentMode
Function: applyTangentMode()
applyTangentMode(
keys,i,mode):Keyframe
Set the in/out tangents of keys[i] according to mode, using neighbor keys for slope estimation. Records the mode on the key (so recording / neighbor recompute can re-apply it). Mutates the key in place and returns it. Mirrors Unity's right-click keyframe tangent menu.
Parameters
keys
Keyframe[]
i
number