UMovieSceneTrack

Base class for a track in a Movie Scene

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UMovieSceneSignedObject

UMovieSceneTrack

UMovieScene3DConstraintTrack

UMovieScene3DAttachTrack

UMovieScene3DPathTrack

UMovieSceneComposureExportTrack

UMovieSceneNameableTrack

UMovieSceneAudioTrack

UMovieSceneCameraAnimTrack

UMovieSceneCameraCutTrack

UMovieSceneCameraShakeTrack

UMovieSceneControlRigParameterTrack

UMovieSceneEventTrack

UMovieSceneGeometryCacheTrack

UMovieSceneGeometryCollectionTrack

UMovieSceneLevelVisibilityTrack

UMovieSceneMaterialTrack

UMovieSceneComponentMaterialTrack

UMovieSceneMaterialParameterCollectionTrack

UMovieSceneWidgetMaterialTrack

UMovieSceneMediaTrack

UMovieSceneNiagaraTrack

UMovieSceneNiagaraParameterTrack

UMovieSceneNiagaraBoolParameterTrack

UMovieSceneNiagaraColorParameterTrack

UMovieSceneNiagaraFloatParameterTrack

UMovieSceneNiagaraIntegerParameterTrack

UMovieSceneNiagaraVectorParameterTrack

UMovieSceneNiagaraSystemTrack

UMovieSceneParticleParameterTrack

UMovieSceneParticleTrack

UMovieScenePropertyTrack

UMovieScene2DTransformTrack

UMovieScene3DTransformTrack

UMovieSceneActorReferenceTrack

UMovieSceneBoolTrack

UMovieSceneVisibilityTrack

UMovieSceneByteTrack

UMovieSceneColorTrack

UMovieSceneComposurePostMoveSettingsTrack

UMovieSceneEnumTrack

UMovieSceneEulerTransformTrack

UMovieSceneFloatTrack

UMovieSceneFadeTrack

UMovieSceneSlomoTrack

UMovieSceneImagePlateTrack

UMovieSceneIntegerTrack

UMovieSceneLiveLinkTrack

UMovieSceneMarginTrack

UMovieSceneMediaPlayerPropertyTrack

UMovieSceneObjectPropertyTrack

UMovieScenePrimitiveMaterialTrack

UMovieSceneStringTrack

UMovieSceneTransformTrack

UMovieSceneVectorTrack

UMovieSceneSkeletalAnimationTrack

UMovieSceneSubTrack

UMovieSceneCinematicShotTrack

UMovieSceneControlRigTrack

UTemplateSequenceTrack

UMovieSceneSpawnTrack

UControlRigBindingTrack

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/MovieSceneTrack.h

Include

#include "MovieSceneTrack.h"

Syntax

class UMovieSceneTrack : public UMovieSceneSignedObject

Remarks

Base class for a track in a Movie Scene

Variables

Name Description

Protected variable

bool

 

bIsEvalDisabled

Whether evaluation of this track has been disabled via mute/solo

Protected variable

bool

 

bSupportsDefaultSections

Does this track support the creation of a default section when created?

Public variable

FMovieSceneTrac...

 

DisplayOptions

General display options for a given track

Public variable

FMovieSceneTrac...

 

EvalOptions

General evaluation options for a given track

Protected variable

int32

 

SortingOrder

This folder's desired sorting order

Protected variable

FMovieSceneBlen...

 

SupportedBlendTypes

Intentionally not a UPROPERTY so this isn't serialized

Protected variable

FColor

 

TrackTint

This track's tint color

Constructors

Name Description

Public function

UMovieSceneTrack

(
    const FObjectInitializer& InInitia...
)

Functions

Name Description

Public function Virtual

void

 

AddSection

(
    UMovieSceneSection& Section
)

Add a section to this track.

Protected function Const

EMovieSceneC...

 

Compile

(
    FMovieSceneEvaluationTrack& Track,
    const FMovieSceneTrackCompilerArgs ...
)

Compile this movie scene track into an efficient runtime structure

Public function Virtual

UMovieSceneS...

 

CreateNewSection()

Generates a new section suitable for use with this track.

Protected function Virtual Const

FMovieSceneE...

 

CreateTemplateForSection

(
    const UMovieSceneSection& InSectio...
)

Create a movie scene eval template for the specified section

Protected function Virtual Const

EMovieSceneC...

 

CustomCompile

(
    FMovieSceneEvaluationTrack& Track,
    const FMovieSceneTrackCompilerArgs ...
)

Overridable user defined custom compilation method

Public function

bool

 

FixRowIndices()

Updates the row indices of sections owned by this track so that all row indices which are used are consecutive with no gaps.

Public function Virtual Const

void

 

GenerateTemplate

(
    const FMovieSceneTrackCompilerArgs ...
)

Generate a template for this track

Public function Const

FMovieSceneE...

 

GenerateTrackTemplate()

Get a raw compiled copy of this track with no additional shared tracks or compiler parameters

Public function Virtual Const

const TArray...

 

GetAllSections()

Called when all the sections of the track need to be retrieved.

Public function Const

const FColor...

 

GetColorTint()

Get this track's color tint.

Public function Virtual Const

ECookOptimiz...

 

GetCookOptimizationFlags()

Called when this track's movie scene is being cooked to determine if/how this track should be cooked.

Public function Virtual Const

FText

 

GetDisplayName()

Get the track's display name.

Public function Const

int32

 

GetMaxRowIndex()

Gets the greatest row index of all the sections owned by this track.

Public function Virtual Const

FMovieSceneT...

 

GetRowSegmentBlender()

Get compiler rules to use when compiling sections that overlap on the same row.

Public function Virtual Const

UMovieSceneS...

 

GetSectionToKey()

Get the section we want to key. If track doesn't support layered blends it will return nulltpr.

Public function Const

int32

 

GetSortingOrder()

Get this folder's desired sorting order

Public function Const

FMovieSceneB...

 

GetSupportedBlendTypes()

Gets what kind of blending is supported by this section

Public function Virtual Const

FName

 

GetTrackName()

Public function Virtual Const

FMovieSceneT...

 

GetTrackSegmentBlender()

Get compiler rules to use when compiling sections that overlap on different rows.

Public function Virtual Const

bool

 

HasSection

(
    const UMovieSceneSection& Section
)

Checks to see if the section is in this track.

Public function Virtual Const

bool

 

IsEmpty()

Public function Const

bool

 

IsEvalDisabled()

Public function Virtual

void

 

OnSectionMoved

(
    UMovieSceneSection& Section,
    const FMovieSceneSectionMovedParams...
)

Called if the section is moved in Sequencer.

Protected function Virtual Const

void

 

PostCompile

(
    FMovieSceneEvaluationTrack& Track,
    const FMovieSceneTrackCompilerArgs ...
)

Called after this track has been compiled, regardless of whether it was compiled through CustomCompile, or the default logic

Public function Virtual

void

 

RemoveAllAnimationData()

Removes animation data.

Public function Virtual

void

 

RemoveSection

(
    UMovieSceneSection& Section
)

Removes a section from this track.

Public function Virtual

void

 

RemoveSectionAt

(
    int32 SectionIndex
)

Removes a section from this track at a particular index

Public function

void

 

SetColorTint

(
    const FColor& InTrackTint
)

Set this track's color tint.

Public function

void

 

SetEvalDisabled

(
    bool bEvalDisabled
)

Called by Sequencer to set whether evaluation of this track should be disabled due to mute/solo settings

Public function Virtual

void

 

SetSectionToKey

(
    UMovieSceneSection* InSection
)

Set This Section as the one to key. If track doesn't support layered blends then don't implement

Public function

void

 

SetSortingOrder

(
    const int32 InSortingOrder
)

Set this folder's desired sorting order.

Public function Virtual Const

bool

 

SupportsDefaultSections()

Public function Virtual Const

EMovieSceneT...

 

SupportsEasing

Public function Virtual Const

bool

 

SupportsMultipleRows()

Public function Virtual Const

bool

 

SupportsType

(
    TSubclassOf< UMovieSceneSection > S...
)

Does this track support this section class type?

Public function

void

 

UpdateEasing()

Update all auto-generated easing curves for all sections in this track

Overridden from UObject

Name Description

Protected function Virtual Const

bool

 

IsPostLoadThreadSafe()

Called during async load to determine if PostLoad can be called on the loading thread.

Protected function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Protected function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss