Navigation
API > API/Plugins > API/Plugins/MovieSceneAnimMixer
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
| Name | UMovieSceneAnimationMixerLayer |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MovieSceneAnimMixer/Source/MovieSceneAnimMixer/Public/MovieSceneAnimationMixerLayer.h |
| Include Path | #include "MovieSceneAnimationMixerLayer.h" |
Syntax
UCLASS (MinimalAPI)
class UMovieSceneAnimationMixerLayer : public UMovieSceneDecorationContainerObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieSceneSignedObject → UMovieSceneDecorationContainerObject → UMovieSceneAnimationMixerLayer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMovieSceneAnimationMixerLayer
(
const FObjectInitializer& ObjInit |
MovieSceneAnimationMixerLayer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChildTrack | TObjectPtr< UMovieSceneTrack > | Child track reference occupying this layer (mutually exclusive with Sections) | MovieSceneAnimationMixerLayer.h | |
| DisplayName | FText | Optional custom display name for this layer | MovieSceneAnimationMixerLayer.h | |
| Sections | TArray< TObjectPtr< UMovieSceneSection > > | Section references contained in this layer (mutually exclusive with ChildTrack) | MovieSceneAnimationMixerLayer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSection
(
UMovieSceneSection* Section |
Add a section reference to this layer | MovieSceneAnimationMixerLayer.h | |
bool ContainsSection
(
UMovieSceneSection* Section |
Check if this layer contains the given section | MovieSceneAnimationMixerLayer.h | |
UMovieSceneTrack * GetChildTrack() |
Get the child track occupying this layer (if any) | MovieSceneAnimationMixerLayer.h | |
FText GetDisplayName() |
Get the display name for this layer | MovieSceneAnimationMixerLayer.h | |
int32 GetLayerIndex() |
MovieSceneAnimationMixerLayer.h | ||
const UMovieSceneAnimationMixerTrack * GetMixerTrack() |
MovieSceneAnimationMixerLayer.h | ||
int32 GetNumSections() |
Get the number of sections in this layer | MovieSceneAnimationMixerLayer.h | |
const TArray< TObjectPtr< UMovieSceneSection > > & GetSections() |
Get all section references in this layer | MovieSceneAnimationMixerLayer.h | |
bool HasChildTrack() |
Check if this layer contains a child track (vs sections) | MovieSceneAnimationMixerLayer.h | |
bool HasCustomDisplayName() |
Check if this layer has a custom display name | MovieSceneAnimationMixerLayer.h | |
bool IsEmpty() |
Check if this layer is empty (no sections, no child track) | MovieSceneAnimationMixerLayer.h | |
void RemoveSection
(
UMovieSceneSection* Section |
Remove a section reference from this layer | MovieSceneAnimationMixerLayer.h | |
void SetChildTrack
(
UMovieSceneTrack* InTrack |
Set the child track for this layer | MovieSceneAnimationMixerLayer.h | |
void SetDisplayName
(
const FText& InDisplayName |
Set a custom display name for this layer | MovieSceneAnimationMixerLayer.h |