Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/Sections
Inheritance Hierarchy
- UObject
- UMovieSceneSignedObject
- UMovieSceneSection
- UMovieSceneSubSection
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/Sections/MovieSceneSubSection.h |
| Include | #include "Sections/MovieSceneSubSection.h" |
Syntax
UCLASS (BlueprintType, Config=EditorPerProjectUserSettings, MinimalAPI)
class UMovieSceneSubSection :
public UMovieSceneSection ,
public IMovieSceneEntityProvider
Remarks
Implements a section in sub-sequence tracks.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnSequenceChanged | OnSequenceChangedDelegate | Delegate to fire when our sequence is changed in the property editor | |
| FMovieSceneSectionParameters | Parameters | ||
| UMovieSceneSequence * | PreviousSubSequence | Previous sub sequence, restored if changed sub sequence is invalid | |
| TObjectPtr< UMovieSceneSequence > | SubSequence | Movie scene being played by this section |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMovieSceneSubSection
(
const FObjectInitializer& ObjInitializer |
Object constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildDefaultSubSectionComponents
(
UMovieSceneEntitySystemLinker* EntityLinker, |
||
| FMovieSceneSubSequenceData | GenerateSubSequenceData
(
const FSubSequenceInstanceDataParams& Params |
Generate subsequence data | |
| EMovieSceneServerClientMask | |||
| FString | Get the path name to this sub section from the outer moviescene | ||
| UMovieSceneSequence * | GetSequence () |
Get the sequence that is assigned to this section. | |
| FMovieSceneSequenceID | Get this sub section's sequence ID | ||
| bool | GetValidatedInnerPlaybackRange
(
TRange< FFrameNumber >& OutInnerPlaybackRange |
Gets the playrange of the inner sequence, in the inner sequence's time space, trimmed with any start/end offsets, and validated to make sure we get at least a 1-frame long playback range (e.g. in the case where excessive trimming results in an invalid range). | |
| TRange< FFrameNumber > | GetValidatedInnerPlaybackRange
(
const FMovieSceneSectionParameters& SubSectionParameters, |
Helper function used by the above method, but accessible for other uses like track editors. | |
| FFrameNumber | MapTimeToSectionFrame
(
FFrameTime InPosition |
||
| FOnSequenceChanged & | Delegate to fire when our sequence is changed in the property editor | ||
| FMovieSceneSequenceTransform | Gets the transform that converts time from this section's time-base to its inner sequence's | ||
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
||
| void | SetNetworkMask
(
EMovieSceneServerClientMask InNetworkMask |
||
| void | SetSequence
(
UMovieSceneSequence* Sequence |
Sets the sequence played by this section. |
Overridden from UMovieSceneSection
| Type | Name | Description | |
|---|---|---|---|
| TOptional< TRange< FFrameNumber > > | Returns the range to auto size this section to, if there is one. | ||
| TOptional< FFrameTime > | The optional offset time of this section | ||
| void | GetSnapTimes
(
TArray< FFrameNumber >& OutSnapTimes, |
Gets all snap times for this section | |
| void | MigrateFrameTimes
(
FFrameRate SourceRate, |
Migrate the frame times of the movie scene section from the source frame rate to the destination frame rate | |
| void | TrimSection
(
FQualifiedFrameTime TrimTime, |
Trim a section at the trim time |
Overridden from UMovieSceneSignedObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | PostLoad () |
Overridden from IMovieSceneEntityProvider
| Type | Name | Description | |
|---|---|---|---|
| void | ImportEntityImpl
(
UMovieSceneEntitySystemLinker* EntityLinker, |
||
| bool | PopulateEvaluationFieldImpl
(
const TRange< FFrameNumber >& EffectiveRange, |
Optional user-implementation function for populating an evaluation entity field |