Navigation
API > API/Runtime > API/Runtime/MoviePlayer
Inheritance Hierarchy
- IMovieStreamer
- FMediaMovieStreamer
References
| Module | MoviePlayer |
| Header | /Engine/Source/Runtime/MoviePlayer/Public/MoviePlayer.h |
| Include | #include "MoviePlayer.h" |
Syntax
class IMovieStreamer
Remarks
Interface for creating a movie streaming player. Should be one instance per platform.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BroadcastCurrentMovieClipFinished
(
const FString& MovieClipThatFinished |
||
| 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 >& MoviePaths, |
Initializes this movie streamer with all the movie paths (ordered) we want to play Movie paths are local to the current game's Content/Movies/ directory. | |
| bool | Returns true if the movie being played in the last one in the play list | ||
| IMovieStreamer::FOnCurrentMovieClipFinished TBaseMulticastDelegate_OneParam | |||
| void | PreviousViewportInterface
(
const TSharedPtr< ISlateViewport >& PreviousViewportInterface |
Tells the movie streamer about the viewport interface that was active before us. | |
| void | Resume () |
||
| void | Suspend () |
Called by the engine on suspend/resume | |
| 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. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnCurrentMovieClipFinished |