Navigation
API > API/Runtime > API/Runtime/MoviePlayer
Interface for creating a movie streaming player. Should be one instance per platform.
| Name | IMovieStreamer |
| Type | class |
| Header File | /Engine/Source/Runtime/MoviePlayer/Public/MoviePlayer.h |
| Include Path | #include "MoviePlayer.h" |
Syntax
class IMovieStreamer
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMovieStreamer() |
MoviePlayer.h |
Classes
| Name | Remarks |
|---|---|
| FOnCurrentMovieClipFinished |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BroadcastCurrentMovieClipFinished
(
const FString& MovieClipThatFinished |
MoviePlayer.h | ||
void Cleanup() |
Called to allow the movie streamer to cleanup any resources once there are no movies left to play. | MoviePlayer.h | |
void ForceCompletion() |
Forces the movie streamer to cancel what it's streaming and close. | MoviePlayer.h | |
float GetAspectRatio() |
Gets the aspect ratio of the movie frames being streamed. | MoviePlayer.h | |
FString GetMovieName() |
Returns the name of the movie currently being played | MoviePlayer.h | |
virtual FTextureRHIRef GetTexture() |
MoviePlayer.h | ||
TSharedPtr< class ISlateViewport > GetViewportInterface() |
Gets a viewport interface which will be used to draw the movie. | MoviePlayer.h | |
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. | MoviePlayer.h | |
bool IsLastMovieInPlaylist() |
Returns true if the movie being played in the last one in the play list | MoviePlayer.h | |
IMovieStreamer::FOnCurrentMovieClipFinished TBaseMulticastDelegate_OneParam OnCurrentMovieClipFinished() |
MoviePlayer.h | ||
virtual void PreviousViewportInterface
(
const TSharedPtr< ISlateViewport >& PreviousViewportInterface |
Tells the movie streamer about the viewport interface that was active before us. | MoviePlayer.h | |
virtual void Resume() |
MoviePlayer.h | ||
virtual void Suspend() |
Called by the engine on suspend/resume | MoviePlayer.h | |
bool Tick
(
FRHICommandListBase& RHICmdList, |
Code run every tick for any additional per tick handling of playing the movie. | MoviePlayer.h | |
virtual void TickPostEngine() |
Called after the engine ticks. | MoviePlayer.h | |
virtual void TickPostRender() |
Called after rendering is finished. | MoviePlayer.h | |
virtual void TickPreEngine () |
MediaFramework support. | MoviePlayer.h |