UMovieSceneSkeletalAnimationTrack

Handles animation of skeletal mesh actors

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MovieSceneTracks

Header

/Engine/Source/Runtime/MovieSceneTracks/Public/Tracks/MovieSceneSkeletalAnimationTrack.h

Include

#include "Tracks/MovieSceneSkeletalAnimationTrack.h"

Syntax

class UMovieSceneSkeletalAnimationTrack :
    public UMovieSceneNameableTrack,
    public IMovieSceneTrackTemplateProducer

Remarks

Handles animation of skeletal mesh actors

Variables

Name Description

Public variable

TArray< UMovieS...

 

AnimationSections

List of all animation sections

Public variable

bool

 

bAutoMatchClipsRootMotions

MZ todo will need to figure out how to get skelmesh when adding moving clip.

Public variable

bool

 

bBlendFirstChildOfRoot

Whether to blend and adjust the first child node instead of the root, this should be true for blending when the root is static, false if the animations have proper root motion

Public variable

bool

 

bShowRootMotionTrail

Whether to show the position of the root for this sections

Public variable

bool

 

bUseLegacySectionIndexBlend

Public variable

FMovieSceneSkel...

 

RootMotionParams

Constructors

Name Description

Public function

UMovieSceneSkeletalAnimationTrack

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

UMovieSceneS...

 

AddNewAnimation

(
    FFrameNumber KeyTime,
    UAnimSequenceBase* AnimSequenc...
)

Adds a new animation to this track on the next available/non-overlapping row

Public function Virtual

UMovieSceneS...

 

AddNewAnimationOnRow

(
    FFrameNumber KeyTime,
    UAnimSequenceBase* AnimSequenc...,
    int32 RowIndex
)

Adds a new animation to this track

Public function

void

 

FindBestBlendPoint

Public function

TArray< UMov...

 

GetAnimSectionsAtTime

(
    FFrameNumber Time
)

Gets the animation sections at a certain time

Public function

void

 

MatchSectionByBoneTransform

(
    bool bMatchWithPrevious,
    USkeletalMeshComponent* SkelMe...,
    UMovieSceneSkeletalAnimationSection...,
    FFrameTime CurrentFrame,
    FFrameRate FrameRate,
    const FName& BoneName,
    FTransform& SecondSectionRootDiff,
    FVector& TranslationDiff,
    FQuat& RotationDiff
)

Public function

void

 

SetRootMotionsDirty()

Public function

void

 

SetUpRootMotions

(
    bool bForce
)

Public function

void

 

ToggleAutoMatchClipsRootMotions()

Public function

void

 

ToggleShowRootMotionTrail()

Overridden from UMovieSceneNameableTrack

Name Description

Public function Virtual Const

FText

 

GetDefaultDisplayName()

Overridden from UMovieSceneTrack

Name Description

Public function Virtual

void

 

AddSection

(
    UMovieSceneSection& Section
)

Add a section to this track.

Public function Virtual

UMovieSceneS...

 

CreateNewSection()

Generates a new section suitable for use with this track.

Public function Virtual Const

const TArray...

 

GetAllSections()

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

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 Virtual

EMovieSceneS...

 

OnSectionMoved

(
    UMovieSceneSection& Section,
    const FMovieSceneSectionMovedParams...
)

Called if the section is moved in Sequencer.

Public function Virtual Const

bool

 

PopulateEvaluationTree

Sub-classes can override this method to perforum custom evaluation tree population 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 Virtual Const

bool

 

SupportsMultipleRows()

Public function Virtual Const

bool

 

SupportsType

(
    TSubclassOf< UMovieSceneSection > S...
)

Does this track support this section class type?

Public function Virtual

void

 

UpdateEasing()

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

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostEditImport()

Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.

Public function Virtual

void

 

PostLoad()

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

Overridden from IMovieSceneTrackTemplateProducer

Name Description

Public function Virtual Const

FMovieSceneE...

 

CreateTemplateForSection

(
    const UMovieSceneSection& InSectio...
)

Create a movie scene eval template for the specified section

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