quantize_animation_keyframes
Round animation keyframe timestamps in Godot .tscn/.tres files to fixed frame intervals, enabling consistent anime or film framerates.
Instructions
Stepped Framerate Quantizer: Round keyframe timestamps inside a .tscn/.tres file to fixed frame intervals -- e.g. 0.0833s for 12-fps anime look, 0.0417s for 24-fps film.
Args: file_path: Absolute path to the .tscn or .tres animation file. target_fps: Target framerate to quantize to (12 for anime, 24 for film). animation_name: Reserved for future filtering by animation name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| target_fps | No | ||
| animation_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |