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
Param | Type |
---|---|
size | Vector2 |
frame | AABB2 |
margin | Vector2 |
x | number |
y | number |
position_canvas_to_curve(size, frame, margin, x, y) ⇒ Vector2
Kind: global function
Param | Type |
---|---|
size | Vector2 |
frame | AABB2 |
margin | Vector2 |
x | number |
y | number |
build_curve_editor(curve, [size], [margin]) ⇒ View
Kind: global function
Param | Type | Description |
---|---|---|
curve | AnimationCurve | |
[size] | Vector2 | |
[margin] | Vector2 | How much space to leave empty around the plotted bounds |
- build_curve_editor(curve, [size], [margin]) ⇒
View
- ~active_keyframe :
ObservedValue.<Keyframe>
- ~add_keyframe(keyframe)
- ~active_keyframe :
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
Param | Type |
---|---|
keyframe | Keyframe |