set_binding_channel_keyframe_interp
Edit one keyframe on a binding’s section channel by setting its interpolation, tangent mode, arrive/leave tangents, or value for animation control.
Instructions
Set the interpolation mode, tangent mode, tangents and/or value of one keyframe on a binding's section channel (resolved like set_section_easing). Like set_keyframe_interpolation but for per-binding channels: transform "double" (default) or property "float". Bool channels have no interp/tangent and are rejected. Idempotent (writing the same fields = same state).
Returns: { sequence_path: string, channel_index: int, channel_type: string, frame: int, key_index: int, value: number, interp_mode: string, tangent_mode: string, arrive_tangent: number, leave_tangent: number, set: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Frame of the key to edit (resolved via FindKey; provide index OR frame). | |
| index | No | Index of the key to edit (mutually exclusive with frame). | |
| value | No | Optional new key value (leaves unchanged if omitted). | |
| tolerance | No | Optional FindKey frame tolerance when locating by frame (default 0). | |
| track_type | No | Optional class filter (see set_section_easing) selecting the track on the binding. | |
| interp_mode | No | Optional interpolation: "Cubic" | "Linear" | "Constant" (default leaves unchanged). | |
| track_index | No | Index into the binding's tracks (default 0; used when track_type omitted). | |
| binding_guid | No | GUID of the binding whose section to edit. | |
| channel_type | No | Channel value kind: "double" (default) | "float". ("bool" is rejected -- no interp/tangent.) | |
| tangent_mode | No | Optional tangent mode (Cubic only): "Auto" | "User" | "Break" (default leaves unchanged). | |
| channel_index | No | Index of the channel within its proxy view (default 0). | |
| leave_tangent | No | Optional leave tangent value (Cubic). | |
| section_index | No | Index of the section on the resolved track (default 0). | |
| sequence_name | No | Alias for sequence_path. | |
| sequence_path | No | Full /Game path OR bare asset name of the target Level Sequence. | |
| arrive_tangent | No | Optional arrive tangent value (Cubic). | |
| binding_name_or_guid | No | Alias for binding_guid, read only when binding_guid is absent; it must also be a GUID string, a bound object's name is not resolved. |