UMovieSceneMediaSection

Implements a movie scene section for media playback.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MediaCompositing

Header

/Engine/Plugins/Media/MediaCompositing/Source/MediaCompositing/Public/MovieSceneMediaSection.h

Include

#include "MovieSceneMediaSection.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(MinimalAPI)
class UMovieSceneMediaSection : public UMovieSceneSection

Remarks

Implements a movie scene section for media playback.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

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.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay BlueprintReadWrite

bool

 

bUseExternalMediaPlayer

If true, this track will control a previously created media player instead of automatically creating one.

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta BlueprintReadWrite

UMediaPlayer &#...

 

ExternalMediaPlayer

The external media player this track should control.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

UMediaSoundComp...

 

MediaSoundComponent

The media sound component that receives the track's audio output.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

UMediaSource &#...

 

MediaSource

The source to play with this video track.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

UMediaTexture &...

 

MediaTexture

The media texture that receives the track's video output.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FFrameNumber

 

StartFrameOffset

Offset into the source media.

Public variable UProperty

float

 

ThumbnailReferenceOffset

The reference frame offset for single thumbnail rendering

Constructors

Name Description

Public function

UMovieSceneMediaSection

(
    const FObjectInitializer& ObjectIn...
)

Create and initialize a new instance.

Functions

Name Description

Public function Const

UMediaSource...

 

GetMediaSource()

Get this section's video source.

Public function Const

float

 

GetThumbnailReferenceOffset()

Public function

void

 

SetMediaSource

(
    UMediaSource* InMediaSource
)

Set this section's video source.

Public function

void

 

SetThumbnailReferenceOffset

(
    float InNewOffset
)

Set the thumbnail reference offset

Overridden from UMovieSceneSection

Name Description

Protected function Virtual Const

TOptional< F...

 

GetOffsetTime()

The optional offset time of this section

Protected function Virtual

UMovieSceneS...

 

SplitSection

(
    FQualifiedFrameTime SplitTime,
    bool bDeleteKeys
)

Split a section in two at the split time

Protected function Virtual

void

 

TrimSection

(
    FQualifiedFrameTime TrimTime,
    bool bTrimLeft,
    bool bDeleteKeys
)

Trim a section at the trim time

Overridden from UObject

Name Description

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss