Logo
Public Member Functions | Static Public Member Functions | Properties | List of all members
Yukar.Engine.MoviePlayer Class Reference

Video playback class Generate and use an instance for each video More...

Inheritance diagram for Yukar.Engine.MoviePlayer:

Public Member Functions

 MoviePlayer (Common.Resource.Movie rom, MapScene owner, int priority=0)
 Initialize video playback processing More...
 
void Dispose ()
 
bool Update ()
 Video update process Please call every frame More...
 
void Stop ()
 Force the video to stop More...
 

Static Public Member Functions

static bool WaitForReadyWebM (SharpTest test)
 Method to wait until SharpTest (video playback native implementation part) is ready More...
 

Properties

bool IsEmpty [get]
 Is the video entry empty? More...
 
bool IsEnd [get]
 Whether video playback has finished More...
 

Detailed Description

Video playback class Generate and use an instance for each video

Constructor & Destructor Documentation

◆ MoviePlayer()

Yukar.Engine.MoviePlayer.MoviePlayer ( Common.Resource.Movie  rom,
MapScene  owner,
int  priority = 0 
)

Initialize video playback processing

Parameters
romVideo resources to play
ownerMapScene
priorityVideo display priority

Member Function Documentation

◆ Dispose()

void Yukar.Engine.MoviePlayer.Dispose ( )

◆ Stop()

void Yukar.Engine.MoviePlayer.Stop ( )

Force the video to stop

◆ Update()

bool Yukar.Engine.MoviePlayer.Update ( )

Video update process Please call every frame

Returns
Returns true if initialization is in progress or playback is still ongoing

◆ WaitForReadyWebM()

static bool Yukar.Engine.MoviePlayer.WaitForReadyWebM ( SharpTest  test)
static

Method to wait until SharpTest (video playback native implementation part) is ready

Parameters
test
Returns

Property Documentation

◆ IsEmpty

bool Yukar.Engine.MoviePlayer.IsEmpty
get

Is the video entry empty?

◆ IsEnd

bool Yukar.Engine.MoviePlayer.IsEnd
get

Whether video playback has finished