unreal.MovieSceneAnimationMixerTrack

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

Bases: MovieSceneCommonAnimationTrack

Movie Scene Animation Mixer Track

C++ Source:

  • Plugin: MovieSceneAnimMixer

  • Module: MovieSceneAnimMixer

  • File: MovieSceneAnimationMixerTrack.h

Editor Properties: (see get_editor_property/set_editor_property)

  • blend_first_child_of_root (bool): [Read-Write] Whether to blend and adjust the first child node with animation instead of the root, this should be true for blending when the root is static, false if the animations have proper root motion

  • condition_container (MovieSceneConditionContainer): [Read-Write] Optional dynamic condition for whether this track/any of the sections on this track evaluates at runtime.

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

  • display_name (Text): [Read-Write] The track’s human readable display name.

  • display_options (MovieSceneTrackDisplayOptions): [Read-Write] General display options for a given track

  • eval_options (MovieSceneTrackEvalOptions): [Read-Write] General evaluation options for a given track

  • mixed_animation_target (InstancedStruct): [Read-Write]

  • show_root_motion_trail (bool): [Read-Write] Whether to show the position of the root for this sections

  • track_row_display_names (Array[Text]): [Read-Write] The track display name per row.

  • track_tint (Color): [Read-Write] This track’s tint color

add_animation(layer_index, start_frame, anim_sequence) MovieSceneSection

Add a skeletal animation to a specific layer at the given start frame

Parameters:
Return type:

MovieSceneSection

add_child_track_to_layer(object_binding, track_class, layer_index) MovieSceneTrack

Add a child track (e.g. Control Rig) to a specific layer. This is the UI operation of adding a track type to an empty mixer layer. The track will occupy the entire layer (layers support either sections or a child track, not both).

Parameters:
  • object_binding (Guid)

  • track_class (type(Class))

  • layer_index (int32)

Return type:

MovieSceneTrack

add_layer() MovieSceneAnimationMixerLayer

Add a new empty layer at the end

Return type:

MovieSceneAnimationMixerLayer

get_layer_count() int32

Get the number of layers in this mixer track

Return type:

int32

get_layers() Array[MovieSceneAnimationMixerLayer]

Get all layers in this mixer track

Return type:

Array[MovieSceneAnimationMixerLayer]

get_transition_between(from_section, to_section) MovieSceneAnimTransitionSectionBase

Get the transition between two specific sections, or nullptr if none exists

Parameters:
Return type:

MovieSceneAnimTransitionSectionBase

get_transitions_for_section(section) Array[MovieSceneAnimTransitionSectionBase]

Get all transition sections that reference the given section as either “from” or “to”

Parameters:

section (MovieSceneSection)

Return type:

Array[MovieSceneAnimTransitionSectionBase]

insert_layer(index) MovieSceneAnimationMixerLayer

Insert a new empty layer at the specified index, shifting existing layers down

Parameters:

index (int32)

Return type:

MovieSceneAnimationMixerLayer