Navigation
API > API/Plugins > API/Plugins/MediaCompositing
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMovieSceneSignedObject
- UMovieSceneSection
- UMovieSceneMediaSection
References
| Module | MediaCompositing |
| Header | /Engine/Plugins/Media/MediaCompositing/Source/MediaCompositing/Public/MovieSceneMediaSection.h |
| Include | #include "MovieSceneMediaSection.h" |
Syntax
UCLASS&40;&41;
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. | ||
| float | |||
| 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 |
Overridden from UMovieSceneSection
| Type | Name | Description | |
|---|---|---|---|
| TOptional< FFrameTime > | The optional offset time of this section | ||
| void | GetReferencedBindings
(
TArray< FGuid >& OutBindings |
Get the referenced bindings 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 | OnBindingIDsUpdated
(
const TMap< UE::MovieScene::FFixedObjectBindingID, UE::MovieScene::FFixedObjectBindingID >& OldFixe..., |
When guid bindings are updated to allow this section to fix-up any internal bindings | |
| UMovieSceneSection * | SplitSection
(
FQualifiedFrameTime SplitTime, |
Split a section in two at the split time | |
| void | TrimSection
(
FQualifiedFrameTime TrimTime, |
Trim a section at the trim time |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |