set_property_track_keyframe_count
Set the exact number of keyframes on an Unreal Engine property track, evenly spaced with a default value. Use to resize animation sections to N keys.
Instructions
Resize a property track's first section to exactly N keys evenly spaced from the section start, all carrying the same default value.
Returns: { sequence_name: string, binding_guid: string, property_type: string, key_count: int, default_value: float, keys_written: int, applied: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_count | Yes | Target number of keys (>= 0). 0 clears all keys; 1 seeds at section start; >=2 evenly distributes. | |
| binding_guid | Yes | GUID of the binding. | |
| default_value | No | Value to use for every resampled key (default 0). | |
| property_type | Yes | One of "Float", "Bool", "Vector", "Color", "Visibility". | |
| sequence_name | Yes | Name of the target Level Sequence. |