Navigation
API > API/Plugins > API/Plugins/MediaMovieStreamer
Inheritance Hierarchy
- IMovieStreamer
- FMediaMovieStreamer
References
| Module | MediaMovieStreamer |
| Header | /Engine/Plugins/Media/MediaMovieStreamer/Source/MediaMovieStreamer/Public/MediaMovieStreamer.h |
| Include | #include "MediaMovieStreamer.h" |
Syntax
class FMediaMovieStreamer : public IMovieStreamer
Remarks
Movie streamer that allows you to use MediaFramework during level loading, etc.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FMovieStreamerExternalTick | MovieStreamerPostEngineTick | ||
| FMovieStreamerExternalTick | MovieStreamerPostRenderTick | ||
| FMovieStreamerExternalTick | MovieStreamerPreEngineTick |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UMediaSoundComponent * | Returns the current MediaSoundComponent | ||
| void | OnMediaEnd () |
Called from UMediaMovieAssets when the media ends. | |
| void | SetIsMediaControlledExternally
(
bool bInIsMediaControlledExternally |
If you do not want FMediaMovieStreamer to play automatically, but want to control the media yourself, then call this with true. | |
| void | SetMediaPlayer
(
UMediaPlayer* InMediaPlayer |
Sets which media player should be playing. | |
| void | SetMediaSoundComponent
(
UMediaSoundComponent* InMediaSoundComponent |
Sets what media sound component we are using. | |
| void | SetMediaSource
(
UMediaSource* InMediaSource |
Sets what to play. | |
| void | SetMediaTexture
(
UMediaTexture* InMediaTexture |
Sets what media texture we are using. |
Overridden from IMovieStreamer
| Type | Name | Description | |
|---|---|---|---|
| void | Cleanup () |
Called to allow the movie streamer to cleanup any resources once there are no movies left to play. | |
| void | Forces the movie streamer to cancel what it's streaming and close. | ||
| float | Gets the aspect ratio of the movie frames being streamed. | ||
| FString | GetMovieName () |
Returns the name of the movie currently being played | |
| FTexture2DRHIRef | GetTexture () |
||
| TSharedPtr< class ISlateViewport > | Gets a viewport interface which will be used to draw the movie. | ||
| bool | Init
(
const TArray< FString >& InMoviePaths, |
IMovieStreamer interface | |
| bool | Returns true if the movie being played in the last one in the play list | ||
| FOnCurrentMovieClipFinished & | |||
| void | PreviousViewportInterface
(
const TSharedPtr< ISlateViewport >& PreviousViewportInterface |
Tells the movie streamer about the viewport interface that was active before us. | |
| bool | Tick
(
float DeltaTime |
Code run every tick for any additional per tick handling of playing the movie. | |
| void | Called after the engine ticks. | ||
| void | Called after rendering is finished. | ||
| void | MediaFramework support. |