CurveData
Defined in: src/components/controls/CurveEditor/CurveEditor.types.ts:49
Complete curve data model.
Properties
domainX
domainX: [
number,number]
Defined in: src/components/controls/CurveEditor/CurveEditor.types.ts:53
Domain bounds — x range
domainY
domainY: [
number,number]
Defined in: src/components/controls/CurveEditor/CurveEditor.types.ts:55
Domain bounds — y range
keyframes
keyframes:
CurveKeyframe[]
Defined in: src/components/controls/CurveEditor/CurveEditor.types.ts:51
Ordered array of keyframes (sorted by x)
postInfinity?
optionalpostInfinity:"linear"|"constant"|"cycle"|"pingpong"
Defined in: src/components/controls/CurveEditor/CurveEditor.types.ts:65
Post-infinity behavior — what happens after the last keyframe
Default
"constant"preInfinity?
optionalpreInfinity:"linear"|"constant"|"cycle"|"pingpong"
Defined in: src/components/controls/CurveEditor/CurveEditor.types.ts:60
Pre-infinity behavior — what happens before the first keyframe
Default
"constant"