Navigation
API > API/Runtime > API/Runtime/MovieScene
A track that holds sub-sequences within a larger sequence.
| Name | UMovieSceneSubTrack |
| Type | class |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Tracks/MovieSceneSubTrack.h |
| Include Path | #include "Tracks/MovieSceneSubTrack.h" |
Syntax
UCLASS (MinimalAPI)
class UMovieSceneSubTrack : public UMovieSceneNameableTrack
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieSceneSignedObject → UMovieSceneDecorationContainerObject → UMovieSceneTrack → UMovieSceneNameableTrack → UMovieSceneSubTrack
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMovieSceneSubTrack
(
const FObjectInitializer& ObjectInitializer |
Tracks/MovieSceneSubTrack.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RowHeight | int32 | The height for each row of this track | Tracks/MovieSceneSubTrack.h | |
| SectionToKey | TObjectPtr< UMovieSceneSection > | Section we should Key | Tracks/MovieSceneSubTrack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UMovieSceneSubSection * AddSequence
(
UMovieSceneSequence* Sequence, |
Adds a movie scene section at the requested time. | Tracks/MovieSceneSubTrack.h | |
virtual UMovieSceneSubSection * AddSequenceOnRow
(
UMovieSceneSequence* Sequence, |
Adds a movie scene section at the requested time. | Tracks/MovieSceneSubTrack.h | |
bool ContainsSequence
(
const UMovieSceneSequence& Sequence, |
Check whether this track contains the given sequence. | Tracks/MovieSceneSubTrack.h | |
TArray< UMovieSceneSection *, TInlineAllocator< 4 > > FindAllSections
(
FFrameNumber Time |
Finds all sections at the current time. | Tracks/MovieSceneSubTrack.h | |
UMovieSceneSection * FindOrAddSection
(
FFrameNumber Time, |
Finds a section at the current time, or adds one if no section is found. | Tracks/MovieSceneSubTrack.h | |
UMovieSceneSection * FindOrExtendSection
(
FFrameNumber Time, |
Finds a section at the current time or extends an existing one | Tracks/MovieSceneSubTrack.h | |
UMovieSceneSection * FindSection
(
FFrameNumber Time |
Finds a section at the current time. | Tracks/MovieSceneSubTrack.h | |
int32 GetRowHeight() |
Get the height of this track's rows | Tracks/MovieSceneSubTrack.h | |
void SetRowHeight
(
int32 NewRowHeight |
Set the height of this track's rows | Tracks/MovieSceneSubTrack.h |
Overridden from UMovieSceneNameableTrack
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetDefaultDisplayName() |
Tracks/MovieSceneSubTrack.h |
Overridden from UMovieSceneTrack
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UMovieSceneSection * CreateNewSection() |
Generates a new section suitable for use with this track. | Tracks/MovieSceneSubTrack.h | |
virtual const TArray< UMovieSceneSection * > & GetAllSections() |
Called when all the sections of the track need to be retrieved. | Tracks/MovieSceneSubTrack.h | |
virtual UMovieSceneSection * GetSectionToKey() |
Get the section we want to key. If track doesn't support layered blends it will return nulltpr. | Tracks/MovieSceneSubTrack.h | |
virtual bool HasSection
(
const UMovieSceneSection& Section |
Checks to see if the section is in this track. | Tracks/MovieSceneSubTrack.h | |
virtual bool IsEmpty() |
Tracks/MovieSceneSubTrack.h | ||
virtual void RemoveAllAnimationData() |
Removes animation data. | Tracks/MovieSceneSubTrack.h | |
virtual void SetSectionToKey
(
UMovieSceneSection* InSection |
Set This Section as the one to key. If track doesn't support layered blends then don't implement | Tracks/MovieSceneSubTrack.h | |
virtual bool SupportsMultipleRows() |
Tracks/MovieSceneSubTrack.h | ||
virtual bool SupportsType
(
TSubclassOf< UMovieSceneSection > SectionClass |
Does this track support this section class type? | Tracks/MovieSceneSubTrack.h |
Overridden from IMovieSceneTrackVirtualAPI
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddSection
(
UMovieSceneSection& Section |
Add a section to this track. | Tracks/MovieSceneSubTrack.h | |
virtual void RemoveSection
(
UMovieSceneSection& Section |
Removes a section from this track. | Tracks/MovieSceneSubTrack.h | |
virtual void RemoveSectionAt
(
int32 SectionIndex |
Removes a section from this track at a particular index | Tracks/MovieSceneSubTrack.h |