Navigation
API > API/Plugins > API/Plugins/MediaCompositing
Implements a movie scene track for media playback.
| Name | UMovieSceneMediaTrack |
| Type | class |
| Header File | /Engine/Plugins/Media/MediaCompositing/Source/MediaCompositing/Public/MovieSceneMediaTrack.h |
| Include Path | #include "MovieSceneMediaTrack.h" |
Syntax
UCLASS (MinimalAPI)
class UMovieSceneMediaTrack :
public UMovieSceneNameableTrack ,
public IMovieSceneTrackTemplateProducer
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieSceneSignedObject → UMovieSceneDecorationContainerObject → UMovieSceneTrack → UMovieSceneNameableTrack → UMovieSceneMediaTrack
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMovieSceneMediaTrack
(
const FObjectInitializer& ObjectInitializer |
Create and initialize a new instance. | MovieSceneMediaTrack.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSynchronousScrubbing | bool | Force synchronous frame requests while manually scrubbing the media track, at the cost of blocking the editor. | MovieSceneMediaTrack.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bGetDurationDelay | bool | If true then don't check for the duration this frame. | MovieSceneMediaTrack.h | |
| ClockSink | TSharedPtr< FMovieSceneMediaTrackClockSink, ESPMode::ThreadSafe > | Our media clock sink. | MovieSceneMediaTrack.h | |
| MediaSections | TArray< TObjectPtr< UMovieSceneSection > > | List of all media sections. | MovieSceneMediaTrack.h | |
| NewSections | TArray< TPair< TStrongObjectPtr< UMediaPlayer >, TWeakObjectPtr< UMovieSceneSection > > > | List of players that are we are trying to get durations from for the corresponding sections. | MovieSceneMediaTrack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UMovieSceneSection * AddNewMediaSource
(
UMediaSource& MediaSource, |
Adds a new media source on the next available/non-overlapping row. | MovieSceneMediaTrack.h | |
virtual UMovieSceneSection * AddNewMediaSourceOnRow
(
UMediaSource& MediaSource, |
Adds a new media source to the track. | MovieSceneMediaTrack.h | |
virtual UMovieSceneSection * AddNewMediaSourceProxy
(
UMediaSource* MediaSource, |
Adds a new media source on the next available/non-overlapping row. | MovieSceneMediaTrack.h | |
virtual UMovieSceneSection * AddNewMediaSourceProxyOnRow
(
UMediaSource* MediaSource, |
Adds a new media source to the track. | MovieSceneMediaTrack.h | |
void TickOutput() |
Called from the media clock. | MovieSceneMediaTrack.h |
Overridden from UMovieSceneTrack
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UMovieSceneSection * CreateNewSection() |
MovieSceneMediaTrack.h | ||
virtual const TArray< UMovieSceneSection * > & GetAllSections() |
MovieSceneMediaTrack.h | ||
virtual bool HasSection
(
const UMovieSceneSection& Section |
MovieSceneMediaTrack.h | ||
virtual bool IsEmpty() |
MovieSceneMediaTrack.h | ||
virtual EMovieSceneSectionMovedResult OnSectionMoved
(
UMovieSceneSection& Section, |
MovieSceneMediaTrack.h | ||
virtual bool SupportsMultipleRows() |
MovieSceneMediaTrack.h | ||
virtual bool SupportsType
(
TSubclassOf< UMovieSceneSection > SectionClass |
MovieSceneMediaTrack.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
MovieSceneMediaTrack.h |
Overridden from IMovieSceneTrackVirtualAPI
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddSection
(
UMovieSceneSection& Section |
MovieSceneMediaTrack.h | ||
virtual void RemoveSection
(
UMovieSceneSection& Section |
MovieSceneMediaTrack.h | ||
virtual void RemoveSectionAt
(
int32 SectionIndex |
MovieSceneMediaTrack.h |
Overridden from IMovieSceneTrackTemplateProducer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FMovieSceneEvalTemplatePtr CreateTemplateForSection
(
const UMovieSceneSection& InSection |
MovieSceneMediaTrack.h |