Navigation
API > API/Plugins > API/Plugins/MediaCompositing
Inheritance Hierarchy
- UMovieSceneSection
- UMovieSceneMediaSection
References
Module | MediaCompositing |
Header | /Engine/Plugins/Media/MediaCompositing/Source/MediaCompositing/Public/MovieSceneMediaSection.h |
Include | #include "MovieSceneMediaSection.h" |
Syntax
UCLASS ()
class UMovieSceneMediaSection : public UMovieSceneSection
Remarks
Implements a movie scene section for media playback.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | bHasMediaPlayerProxy | True if the object bound to this track has a media player proxy. |
![]() ![]() ![]() ![]() |
bool | bLooping | Should the media player be set to loop? This can be helpful for media formats that can use this information (such as exr sequences) to pre-cache the starting data when nearing the end of playback. |
![]() ![]() ![]() ![]() |
bool | bUseExternalMediaPlayer | If true, this track will control a previously created media player instead of automatically creating one. |
![]() ![]() ![]() ![]() |
FMediaSourceCacheSettings | CacheSettings | Override the default cache settings. |
![]() ![]() |
FMovieSceneBoolChannel | ChannelCanPlayerBeOpen | If true then the media player can be open. |
![]() ![]() ![]() ![]() |
TObjectPtr< UMediaPlayer > | ExternalMediaPlayer | The external media player this track should control. |
![]() ![]() ![]() ![]() |
TObjectPtr< UMediaSoundComponent > | MediaSoundComponent | The media sound component that receives the track's audio output. |
![]() ![]() ![]() ![]() |
TObjectPtr< UMediaSource > | MediaSource | The source to play with this video track if MediaSourceProxy is not available. |
![]() ![]() ![]() ![]() |
int32 | MediaSourceProxyIndex | The index to pass to MediaSourceProxy to get the media source. |
![]() ![]() ![]() ![]() |
TObjectPtr< UMediaTexture > | MediaTexture | The media texture that receives the track's video output. |
![]() ![]() ![]() ![]() |
FFrameNumber | StartFrameOffset | Offset into the source media. |
![]() ![]() ![]() ![]() |
int32 | TextureIndex | If using an object like a MediaPlate, then this determines which texture to use for crossfading purposes. |
![]() ![]() |
float | ThumbnailReferenceOffset | The reference frame offset for single thumbnail rendering |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMovieSceneMediaSection
(
const FObjectInitializer& ObjectInitializer |
Create and initialize a new instance. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UMediaSource * | Get this section's video source. | |
![]() ![]() |
UMediaSource * | GetMediaSourceOrProxy
(
IMovieScenePlayer& Player, |
If there is a proxy, get the media source from it. Otherwise return our media source. |
![]() ![]() |
UMediaSource * | GetMediaSourceOrProxy
(
IMovieScenePlayer& InPlayer, |
Static version of GetMediaSourceOrProxy. |
![]() ![]() |
const FMovieSceneObjectBindingID & | Get this section's video source proxy. | |
![]() ![]() ![]() |
TOptional< FFrameTime > | ||
![]() ![]() |
void | GetReferencedBindings
(
TArray< FGuid >& OutBindings |
|
![]() ![]() |
float | ||
![]() ![]() |
void | MigrateFrameTimes
(
FFrameRate SourceRate, |
|
![]() ![]() |
void | OnBindingIDsUpdated
(
const TMap< UE::MovieScene::FFixedObjectBindingID, UE::MovieScene::FFixedObjectBindingID >& OldFixe..., |
|
![]() ![]() |
void | ||
![]() |
void | SetMediaSource
(
UMediaSource* InMediaSource |
Set this section's video source. |
![]() |
void | SetMediaSourceProxy
(
const FMovieSceneObjectBindingID& InObjectBinding, |
Set this section's video source proxy. |
![]() |
void | SetThumbnailReferenceOffset
(
float InNewOffset |
Set the thumbnail reference offset |
![]() ![]() |
UMovieSceneSection * | SplitSection
(
FQualifiedFrameTime SplitTime, |
|
![]() ![]() |
void | TrimSection
(
FQualifiedFrameTime TrimTime, |