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