![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MoviePlayer.h>
Public Member Functions | |
| virtual bool | Init (const TArray< FString > &MoviePaths, TEnumAsByte< EMoviePlaybackType > inPlaybackType)=0 |
| virtual void | PreviousViewportInterface (const TSharedPtr< ISlateViewport > &PreviousViewportInterface) |
| virtual void | ForceCompletion ()=0 |
| virtual bool | Tick (FRHICommandListBase &RHICmdList, float DeltaTime)=0 |
| virtual TSharedPtr< class ISlateViewport > | GetViewportInterface ()=0 |
| virtual float | GetAspectRatio () const =0 |
| virtual FString | GetMovieName ()=0 |
| virtual bool | IsLastMovieInPlaylist ()=0 |
| virtual void | Cleanup ()=0 |
| virtual FTextureRHIRef | GetTexture () |
| virtual | ~IMovieStreamer () |
| DECLARE_EVENT_OneParam (IMovieStreamer, FOnCurrentMovieClipFinished, const FString &) virtual FOnCurrentMovieClipFinished &OnCurrentMovieClipFinished()=0 | |
| void | BroadcastCurrentMovieClipFinished (const FString &MovieClipThatFinished) |
| virtual void | Suspend () |
| virtual void | Resume () |
| virtual void | TickPreEngine () |
| virtual void | TickPostEngine () |
| virtual void | TickPostRender () |
Interface for creating a movie streaming player. Should be one instance per platform.
|
inlinevirtual |
|
inline |
Called to allow the movie streamer to cleanup any resources once there are no movies left to play.
|
pure virtual |
Forces the movie streamer to cancel what it's streaming and close.
Gets the aspect ratio of the movie frames being streamed.
|
pure virtual |
returns the name of the movie currently being played
|
inlinevirtual |
|
pure virtual |
Gets a viewport interface which will be used to draw the movie.
|
pure virtual |
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.
returns true if the movie being played in the last one in the play list
|
inlinevirtual |
Tells the movie streamer about the viewport interface that was active before us.
|
pure virtual |
Code run every tick for any additional per tick handling of playing the movie. Returns true if done.