unreal.MovieSceneAnimTransitionSectionBase

class unreal.MovieSceneAnimTransitionSectionBase(outer: Object | None = None, name: Name | str = 'None')

Bases: MovieSceneSection

Abstract base class for all Anim Mixer transition section types. Transition sections handle blending between two overlapping animation sections on the same layer.

Transition tasks follow a create-once, update-each-frame pattern: 1. CreateTransitionTask() is called once during entity import to create the task 2. The mixer system calls Update() on the task each frame to set from/to tasks and timing 3. The task persists as an entity component, allowing it to maintain state across frames

C++ Source:

  • Plugin: MovieSceneAnimMixer

  • Module: MovieSceneAnimMixer

  • File: MovieSceneAnimTransitionSectionBase.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color_tint (Color): [Read-Write] The color tint for this section

  • condition_container (MovieSceneConditionContainer): [Read-Write] Optional dynamic condition for whether this section evaluates at runtime.

  • decorations (MovieSceneDecorationContainer): [Read-Write] Array of decorations for this movie scene

  • easing (MovieSceneEasingSettings): [Read-Write]

  • eval_options (MovieSceneSectionEvalOptions): [Read-Write]

  • is_active (bool): [Read-Write] Toggle whether this section is active/inactive

  • is_locked (bool): [Read-Write] Toggle whether this section is locked/unlocked

  • post_roll_frames (FrameNumber): [Read-Write] The amount of time to continue ‘postrolling’ this section for after evaluation has ended.

  • pre_roll_frames (FrameNumber): [Read-Write] The amount of time to prepare this section for evaluation before it actually starts.

  • section_range (MovieSceneFrameRange): [Read-Write] The range in which this section is active

  • timecode_source (MovieSceneTimecodeSource): [Read-Write] The timecode at which this movie scene section is based (ie. when it was recorded)

change_transition_type(new_transition_class) MovieSceneAnimTransitionSectionBase

Replace this transition with a new one of the given class, preserving blend data where possible. Returns the new transition, or nullptr on failure.

Parameters:

new_transition_class (type(Class))

Return type:

MovieSceneAnimTransitionSectionBase

get_from_section() MovieSceneSection

Get the section this transition blends from

Return type:

MovieSceneSection

get_to_section() MovieSceneSection

Get the section this transition blends to

Return type:

MovieSceneSection

get_transition_display_name() Text

Get the display name for this transition type

Return type:

Text

is_transition_valid() bool

Check if this transition is structurally valid (both sections exist, same row, overlap exists)

Return type:

bool