unreal.MovieSceneAnimationMixerLayer

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

Bases: MovieSceneDecorationContainerObject

Represents a single layer in an Animation Mixer track. Layers can contain either: - Multiple sections (of any type/mixed types that can produce animation poses) - A single child track (e.g., Control Rig track) that occupies the entire layer

Layers store references to sections/tracks but do not own them. - Sections are owned by the outer Animation Mixer Track. - Child tracks are owned by the Object Binding as regular tracks are, but they contain a pointer to their parent track and

they will not be shown underneath the Object Binding

This allows efficient reorganization (moving sections between layers) without changing object outers, and allows easier discovery by other code.

The layer index is determined by the layer’s position in the parent track’s Layers array.

Inherits from UMovieSceneDecorationContainerObject to support features like: - Masks - Custom blend modes

C++ Source:

  • Plugin: MovieSceneAnimMixer

  • Module: MovieSceneAnimMixer

  • File: MovieSceneAnimationMixerLayer.h

Editor Properties: (see get_editor_property/set_editor_property)

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

get_display_name() Text

Get the display name for this layer

Return type:

Text

get_layer_index() int32

Get the index of this layer within its parent mixer track

Return type:

int32

get_sections() Array[MovieSceneSection]

Get all sections on this layer

Return type:

Array[MovieSceneSection]

is_empty() bool

Check if this layer is empty (no sections and no child track)

Return type:

bool

set_display_name(name) None

Set a custom display name for this layer

Parameters:

name (Text)