paste_keys_on_curve
- paste_keys_on_curve(anim_curve_node: Node, curve: AnimCurve, frame_in: float, frame_out: float, to_frame: float, mode: PasteMode) None
Paste the curve keys into an animation curve node.
frame_in and frame_out are used in Replace and Insert modes only. frame_in and frame_out define a range in the input curve time space. In Replace mode, the keys of the destination curve in the interval [frame_in+delta, frame_out+delta] will be erased before the paste operation. In Insert mode, an empty interval will be inserted in [frame_in+delta, frame_out+delta] before the paste operation.
- Parameters
anim_curve_node (Node) – The destination animation curve node
curve (AnimCurve) – The input curve with the keys to paste
frame_in (float) – Starting frame of the input range, in the input curve’s time space
frame_out (float) – Ending frame of the input range, in the input curve’s time space
to_frame (float) – Destination frame in the destination curve
mode (PasteMode) – Paste mode, merge by default
- Return type
None