Navigation
API > API/Runtime > API/Runtime/MovieSceneTracks
| Name | UMovieSceneCommonAnimationTrack |
| Type | class |
| Header File | /Engine/Source/Runtime/MovieSceneTracks/Public/Tracks/MovieSceneCommonAnimationTrack.h |
| Include Path | #include "Tracks/MovieSceneCommonAnimationTrack.h" |
Syntax
UCLASS (MinimalAPI)
class UMovieSceneCommonAnimationTrack : public UMovieSceneNameableTrack
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieSceneSignedObject → UMovieSceneDecorationContainerObject → UMovieSceneTrack → UMovieSceneNameableTrack → UMovieSceneCommonAnimationTrack
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMovieSceneCommonAnimationTrack
(
const FObjectInitializer& ObjInit |
Tracks/MovieSceneCommonAnimationTrack.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnimationSections | TArray< TObjectPtr< UMovieSceneSection > > | List of all animation sections | Tracks/MovieSceneCommonAnimationTrack.h | |
| bBlendFirstChildOfRoot | bool | 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 motion | Tracks/MovieSceneCommonAnimationTrack.h |
|
| bShowRootMotionTrail | bool | Whether to show the position of the root for this sections | Tracks/MovieSceneCommonAnimationTrack.h |
|
| RootMotionParams | FMovieSceneSkeletalAnimRootMotionTrackParams | Tracks/MovieSceneCommonAnimationTrack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOptional< FTransform > GetRootMotion
(
FFrameTime CurrentTime |
Tracks/MovieSceneCommonAnimationTrack.h | ||
void MatchSectionByBoneTransform
(
bool bMatchWithPrevious, |
Tracks/MovieSceneCommonAnimationTrack.h | ||
void SetRootMotionsDirty() |
Tracks/MovieSceneCommonAnimationTrack.h | ||
void SetUpRootMotions
(
bool bForce |
Tracks/MovieSceneCommonAnimationTrack.h | ||
void ToggleShowRootMotionTrail() |
Tracks/MovieSceneCommonAnimationTrack.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UMovieSceneTrack * AddChildTrack
(
FGuid ObjectBinding, |
Adds a child track of the specified class at the given row index. Only valid for mixer tracks. | Tracks/MovieSceneCommonAnimationTrack.h | |
virtual UMovieSceneSection * AddNewAnimation
(
FFrameNumber KeyTime, |
Adds a new animation to this track on the next available/non-overlapping row | Tracks/MovieSceneCommonAnimationTrack.h | |
virtual UMovieSceneSection * AddNewAnimationOnRow
(
FFrameNumber KeyTime, |
Adds a new animation to this track | Tracks/MovieSceneCommonAnimationTrack.h | |
virtual void AddSectionWithAutoRow
(
UMovieSceneSection* Section |
Adds a section to the track with automatically computed row index. | Tracks/MovieSceneCommonAnimationTrack.h | |
virtual int32 ComputeNextAvailableRowIndex() |
Computes the next available row index. For mixer tracks, considers both sections and child tracks. | Tracks/MovieSceneCommonAnimationTrack.h | |
virtual void GetAllChildTracks
(
TArray< TObjectPtr< UMovieSceneTrack > >& OutChildTracks |
Gets all child tracks. Only valid for mixer tracks. Base implementation returns empty array. | Tracks/MovieSceneCommonAnimationTrack.h | |
virtual bool ShouldUseRootMotions() |
Tracks/MovieSceneCommonAnimationTrack.h |
Overridden from UMovieSceneTrack
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UMovieSceneSection * CreateNewSection() |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual const TArray< UMovieSceneSection * > & GetAllSections() |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual bool HasSection
(
const UMovieSceneSection& Section |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual bool IsEmpty() |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual EMovieSceneSectionMovedResult OnSectionMoved
(
UMovieSceneSection& Section, |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual void RemoveAllAnimationData() |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual bool SupportsMultipleRows() |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual bool SupportsType
(
TSubclassOf< UMovieSceneSection > SectionClass |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual void UpdateEasing() |
Tracks/MovieSceneCommonAnimationTrack.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual void PostEditImport() |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual void PostEditUndo() |
Tracks/MovieSceneCommonAnimationTrack.h |
Overridden from IMovieSceneTrackVirtualAPI
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddSection
(
UMovieSceneSection& Section |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual void RemoveSection
(
UMovieSceneSection& Section |
Tracks/MovieSceneCommonAnimationTrack.h | ||
virtual void RemoveSectionAt
(
int32 SectionIndex |
Tracks/MovieSceneCommonAnimationTrack.h |