set_animation_interpolation_mode
Bulk-edit keyframe interpolation modes in Godot scene/resource files, switching between linear, cubic, or constant easing for selected or all animation tracks.
Instructions
Interpolation Mode Swapper: Bulk-edit keyframe easing modes in a .tscn/.tres file. Flip between linear, smooth bezier (cubic), or constant (stepped/nearest).
Args: file_path: Absolute path to the .tscn or .tres file. mode: Interpolation mode -- 'nearest'/'constant' (0), 'linear' (1), 'cubic' (2), 'linear_angle' (3), 'cubic_angle' (4). track_index: If >= 0, only patch this track index. -1 means all tracks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | linear | |
| file_path | Yes | ||
| track_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |