set_section_pre_post_rollout
Set pre-roll and post-roll frames on a sequencer section to control evaluation before and after its visible range. Pass 0 to clear either roll window.
Instructions
Set pre-roll and/or post-roll frames on a sequencer section. Pre-roll = frames the section evaluates BEFORE its visible range. Post-roll = frames the section evaluates AFTER its visible range. Both are stored as FFrameNumber on UMovieSceneSection. Pass at least one of pre_roll_frames or post_roll_frames (a non-None value). A 0 value means "no roll" (clears the roll window). The values are written via the inline SetPreRollFrames / SetPostRollFrames setters and read back through the section's public FFrameNumber fields.
Returns: { sequence_path: string, pre_roll_frames: int, post_roll_frames: int, set: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_type | No | Optional class filter ("transform"|"audio"|"event"|"fade"|etc.). Default "transform". | |
| track_index | No | Index into the binding's tracks (0 = first track, default 0; used when track_type is omitted). | |
| binding_guid | No | GUID string of the binding the section lives under. | |
| section_index | No | Index of the section on the resolved track (default 0). | |
| sequence_name | No | Alias for sequence_path. | |
| sequence_path | No | Asset path of the Level Sequence. | |
| pre_roll_frames | No | Optional pre-roll frames (omit to leave unchanged). | |
| post_roll_frames | No | Optional post-roll frames (omit to leave unchanged). | |
| binding_name_or_guid | No | Alias for binding_guid, read only when binding_guid is absent; it must also be a GUID string, a bound object's name is not resolved. |