Navigation
API > API/Plugins > API/Plugins/MediaCompositing
Implements a movie scene section for media playback.
| Name | UMovieSceneMediaSection |
| Type | class |
| Header File | /Engine/Plugins/Media/MediaCompositing/Source/MediaCompositing/Public/MovieSceneMediaSection.h |
| Include Path | #include "MovieSceneMediaSection.h" |
Syntax
UCLASS (MinimalAPI)
class UMovieSceneMediaSection : public UMovieSceneSection
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieSceneSignedObject → UMovieSceneDecorationContainerObject → UMovieSceneSection → UMovieSceneMediaSection
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMovieSceneMediaSection
(
const FObjectInitializer& ObjectInitializer |
Create and initialize a new instance. | MovieSceneMediaSection.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasMediaPlayerProxy | bool | True if the object bound to this track has a media player proxy. | MovieSceneMediaSection.h |
|
| bLooping | bool | 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. | MovieSceneMediaSection.h |
|
| bUseExternalMediaPlayer | bool | If true, this track will control a previously created media player instead of automatically creating one. | MovieSceneMediaSection.h |
|
| CacheSettings | FMediaSourceCacheSettings | Override the default cache settings. | MovieSceneMediaSection.h |
|
| ChannelCanPlayerBeOpen | FMovieSceneBoolChannel | If true then the media player can be open. | MovieSceneMediaSection.h | |
| ExternalMediaPlayer | TObjectPtr< UMediaPlayer > | The external media player this track should control. | MovieSceneMediaSection.h |
|
| MediaSoundComponent | TObjectPtr< UMediaSoundComponent > | The media sound component that receives the track's audio output. | MovieSceneMediaSection.h |
|
| MediaSource | TObjectPtr< UMediaSource > | The source to play with this video track if MediaSourceProxy is not available. | MovieSceneMediaSection.h |
|
| MediaSourceProxyIndex | int32 | The index to pass to MediaSourceProxy to get the media source. | MovieSceneMediaSection.h |
|
| MediaTexture | TObjectPtr< UMediaTexture > | The media texture that receives the track's video output. | MovieSceneMediaSection.h |
|
| StartFrameOffset | FFrameNumber | Offset into the source media. | MovieSceneMediaSection.h |
|
| TextureIndex | int32 | If using an object like a MediaPlate, then this determines which texture to use for crossfading purposes. | MovieSceneMediaSection.h |
|
| ThumbnailReferenceOffset | float | The reference frame offset for single thumbnail rendering | MovieSceneMediaSection.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MediaSourceProxyBindingID | FMovieSceneObjectBindingID | The object to get the source to play from if you don't want to directly specify a media source. | MovieSceneMediaSection.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMediaSource * GetMediaSource () |
Get this section's video source. | MovieSceneMediaSection.h | |
UMediaSource * GetMediaSourceOrProxy
(
IMovieScenePlayer& Player, |
If there is a proxy, get the media source from it. Otherwise return our media source. | MovieSceneMediaSection.h | |
const FMovieSceneObjectBindingID & GetMediaSourceProxy() |
Get this section's video source proxy. | MovieSceneMediaSection.h | |
float GetThumbnailReferenceOffset() |
MovieSceneMediaSection.h | ||
void SetMediaSource
(
UMediaSource* InMediaSource |
Set this section's video source. | MovieSceneMediaSection.h | |
void SetMediaSourceProxy
(
const FMovieSceneObjectBindingID& InObjectBinding, |
Set this section's video source proxy. | MovieSceneMediaSection.h | |
void SetThumbnailReferenceOffset
(
float InNewOffset |
Set the thumbnail reference offset | MovieSceneMediaSection.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostInitProperties() |
MovieSceneMediaSection.h |
Protected
Overridden from UMovieSceneSection
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TOptional< FFrameTime > GetOffsetTime() |
MovieSceneMediaSection.h | ||
| MovieSceneMediaSection.h | |||
virtual UObject * GetSourceObject() |
MovieSceneMediaSection.h | ||
virtual void MigrateFrameTimes
(
FFrameRate SourceRate, |
MovieSceneMediaSection.h | ||
virtual void OnBindingIDsUpdated
(
const TMap< UE::MovieScene::FFixedObjectBindingID, UE::MovieScene::FFixedObjectBindingID >& OldFixe..., |
MovieSceneMediaSection.h | ||
virtual UMovieSceneSection * SplitSection
(
FQualifiedFrameTime SplitTime, |
MovieSceneMediaSection.h | ||
virtual void TrimSection
(
FQualifiedFrameTime TrimTime, |
MovieSceneMediaSection.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UMediaSource * GetMediaSourceOrProxy
(
IMovieScenePlayer& InPlayer, |
Static version of GetMediaSourceOrProxy. | MovieSceneMediaSection.h |