add_weighted_value_keyframe
Adds a single float keyframe to an existing Level Sequence property track, setting time, value, and cubic, linear, or constant interpolation for Weight curves.
Instructions
Write a single key onto an existing float property track's first section (cubic / linear / constant interp).
Returns: { sequence_name: string, binding_guid: string, property_name: string, time_seconds: float, value: float, interp_mode: string, arrive_tangent: float, leave_tangent: float, key_index: int, key_count: int, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Key value (float). | |
| interp_mode | No | "cubic" (default), "linear", or "constant". | |
| binding_guid | Yes | GUID of the binding owning the float property track. | |
| time_seconds | Yes | Time (seconds, >= 0) at which to place the key. | |
| leave_tangent | No | Optional tangent for cubic interp (default 0). | |
| property_name | No | Name of the float property (default "Weight"; used for response only). | |
| sequence_name | Yes | Name of the target Level Sequence. | |
| arrive_tangent | No | Optional tangent for cubic interp (default 0). |