engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IGameMoviePlayer类 参考abstract

An interface to the movie player we will use for loading screens and gameplay movies 更多...

#include <MoviePlayer.h>

Public 成员函数

virtual FString GetMovieName ()=0
 returns the name of the movie currently being played
 
virtual bool HasEarlyStartupMovie () const =0
 
virtual void Initialize (class FSlateRenderer &InSlateRenderer, TSharedPtr< SWindow > RenderTarget=nullptr)=0
 Initializes this movie player, creating the startup window and hiding the splash screen. 更多...
 
virtual bool IsLastMovieInPlaylist ()=0
 returns true if the movie being played in the last one in the play list
 
virtual bool IsLoadingFinished () const =0
 Called from to check if the game thread is finished loading.
 
virtual bool IsMovieCurrentlyPlaying () const =0
 True if the loading screen is currently running (i.e. 更多...
 
virtual bool IsStartupMoviePlaying () const
 Check if the initial movie(s) is still playing
 
virtual bool LoadingScreenIsPrepared () const =0
 True if we have either slate widgets or a movie to show.
 
virtual FOnPrepareLoadingScreen & OnPrepareLoadingScreen ()=0
 Called before playing a movie if the loading screen has not been prepared.
 
virtual void PassLoadingScreenWindowBackToGame () const =0
 Passes the loading screen window back to the game to use. 更多...
 
virtual bool PlayEarlyStartupMovies ()=0
 Play any early start up movies that have been set up 更多...
 
virtual bool PlayMovie ()=0
 Starts playing the movie given the last FLoadingScreenAttributes passed in 更多...
 
virtual void RegisterMovieStreamer (TSharedPtr< IMovieStreamer > InMovieStreamer)=0
 Registers a movie streamer with the movie player. 更多...
 
virtual void SetSlateOverlayWidget (TSharedPtr< SWidget > NewOverlayWidget)=0
 Allows for a slate overlay widget to be set after playback.
 
virtual void SetupLoadingScreen (const FLoadingScreenAttributes &InLoadingScreenAttributes)=0
 Passes in a slate loading screen UI, movie paths, and any additional data.
 
virtual void SetupLoadingScreenFromIni ()=0
 Sets up an FLoadingScreenAttributes from the game's engine.ini, then calls the virtual SetupLoadingScreen.
 
virtual void Shutdown ()=0
 Shutsdown the movie player.
 
virtual void StopMovie ()=0
 Stops the currently playing movie, if any.
 
virtual void WaitForMovieToFinish (bool bAllowEngineTick=false)=0
 Call only on the game thread. 更多...
 
virtual bool WillAutoCompleteWhenLoadFinishes ()=0
 This function shouild return true if the movie will auto-complete the sequence when background loading has finished
 

详细描述

An interface to the movie player we will use for loading screens and gameplay movies

成员函数说明

◆ HasEarlyStartupMovie()

virtual bool IGameMoviePlayer::HasEarlyStartupMovie ( ) const
pure virtual
返回
true if the movie player has been set up with an early startup movie

◆ Initialize()

virtual void IGameMoviePlayer::Initialize ( class FSlateRenderer &  InSlateRenderer,
TSharedPtr< SWindow >  RenderTarget = nullptr 
)
pure virtual

Initializes this movie player, creating the startup window and hiding the splash screen.

To be called in the launch engine loop.

◆ IsMovieCurrentlyPlaying()

virtual bool IGameMoviePlayer::IsMovieCurrentlyPlaying ( ) const
pure virtual

True if the loading screen is currently running (i.e.

PlayMovie but no WaitForMovieToFinish has been called).

◆ PassLoadingScreenWindowBackToGame()

virtual void IGameMoviePlayer::PassLoadingScreenWindowBackToGame ( ) const
pure virtual

Passes the loading screen window back to the game to use.

For use by the launch engine loop only.

◆ PlayEarlyStartupMovies()

virtual bool IGameMoviePlayer::PlayEarlyStartupMovies ( )
pure virtual

Play any early start up movies that have been set up

返回
true if a movie started playing

◆ PlayMovie()

virtual bool IGameMoviePlayer::PlayMovie ( )
pure virtual

Starts playing the movie given the last FLoadingScreenAttributes passed in

返回
true of a movie started playing.

◆ RegisterMovieStreamer()

virtual void IGameMoviePlayer::RegisterMovieStreamer ( TSharedPtr< IMovieStreamer >  InMovieStreamer)
pure virtual

Registers a movie streamer with the movie player.

Set in the preloading screen stage.

◆ WaitForMovieToFinish()

virtual void IGameMoviePlayer::WaitForMovieToFinish ( bool  bAllowEngineTick = false)
pure virtual

Call only on the game thread.

Spins this thread until the movie stops. If bAllowEngineTick is true, the engine tick may run inside here


该类的文档由以下文件生成: