add_anim_composite_segment
Append an FAnimSegment referencing a UAnimSequence to a UAnimComposite's AnimationTrack, then recompute the composite length. Returns segment count, new length, and save status.
Instructions
Append an FAnimSegment referencing a real UAnimSequence to a UAnimComposite's AnimationTrack, then recompute its length. A failed save makes success false, with saved=false and save_error.
Returns: { composite_path, animation_path, num_segments, composite_length, segments, success, saved, save_error }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| play_rate | No | Segment play rate (default 1.0) | |
| start_pos | No | Segment start position; ignored after auto-stacking (default 0) | |
| loop_count | No | Segment loop count, minimum 1 (default 1) | |
| animation_path | Yes | Object path of the UAnimSequence to reference. | |
| composite_path | Yes | Object path of the UAnimComposite (e.g. "/Game/Animation/AC_Example"). |