Skip to content

format

typescript
Curve.set(index, val)

class: Curve

description

Set the value of the specified keyframe at the given index.

parameter

param_nametypedescription
indexnumberThe index of the keyframe.
valKeyFrameThe keyframe value.

reture

typedescription
void

code example