Skip to main content

build_curve_editor

Functions

position_curve_to_canvas(size, frame, margin, x, y)Vector2
position_canvas_to_curve(size, frame, margin, x, y)Vector2
build_curve_editor(curve, [size], [margin])View

position_curve_to_canvas(size, frame, margin, x, y) ⇒ Vector2

Kind: global function

ParamType
sizeVector2
frameAABB2
marginVector2
xnumber
ynumber

position_canvas_to_curve(size, frame, margin, x, y) ⇒ Vector2

Kind: global function

ParamType
sizeVector2
frameAABB2
marginVector2
xnumber
ynumber

build_curve_editor(curve, [size], [margin]) ⇒ View

Kind: global function

ParamTypeDescription
curveAnimationCurve
[size]Vector2
[margin]Vector2How much space to leave empty around the plotted bounds

build_curve_editor~active_keyframe : ObservedValue.<Keyframe>

Kind: inner constant of build_curve_editor

build_curve_editor~add_keyframe(keyframe)

Kind: inner method of build_curve_editor

ParamType
keyframeKeyframe