unreal.MovieSceneAnimationMixerTrack¶
- class unreal.MovieSceneAnimationMixerTrack(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MovieSceneCommonAnimationTrackMovie 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 motioncondition_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 scenedisplay_name(Text): [Read-Write] The track’s human readable display name.display_options(MovieSceneTrackDisplayOptions): [Read-Write] General display options for a given trackeval_options(MovieSceneTrackEvalOptions): [Read-Write] General evaluation options for a given trackmixed_animation_target(InstancedStruct): [Read-Write]show_root_motion_trail(bool): [Read-Write] Whether to show the position of the root for this sectionstrack_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:
layer_index (int32)
start_frame (FrameNumber)
anim_sequence (AnimSequenceBase)
- Return type:
- 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:
- Return type:
- add_layer() MovieSceneAnimationMixerLayer¶
Add a new empty layer at the end
- Return type:
- 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:
- get_transition_between(from_section, to_section) MovieSceneAnimTransitionSectionBase¶
Get the transition between two specific sections, or nullptr if none exists
- Parameters:
from_section (MovieSceneSection)
to_section (MovieSceneSection)
- Return type:
- 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:
- insert_layer(index) MovieSceneAnimationMixerLayer¶
Insert a new empty layer at the specified index, shifting existing layers down
- Parameters:
index (int32)
- Return type: