C# Class Fusion.Engine.Media.VideoPlayer

Inheritance: System.DisposableBase
Afficher le fichier Open project: demiurghg/FusionEngine Class Usage Examples

Méthodes publiques

Méthode Description
GetTexture ( ) : DynamicTexture

Retrieves a Texture2D containing the current frame of video being played.

Pause ( ) : void

Pauses the currently playing video.

Play ( Video video ) : void

Plays a Video.

Resume ( ) : void

Resumes a paused video.

Stop ( ) : void

Stops playing a video.

VideoPlayer ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
OnTopologyReady ( ) : void

PlatformDispose ( bool disposing ) : void

PlatformGetPlayPosition ( ) : System.TimeSpan

PlatformGetState ( MediaState &result ) : void

PlatformGetTexture ( ) : DynamicTexture

PlatformInitialize ( ) : void

PlatformPause ( ) : void

PlatformPlay ( ) : void

PlatformResume ( ) : void

PlatformSetIsLooped ( ) : void

PlatformSetIsMuted ( ) : void

PlatformSetVolume ( ) : void

PlatformStop ( ) : void

SetChannelVolumes ( ) : void

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetTexture() public méthode

Retrieves a Texture2D containing the current frame of video being played.
Thrown if no video is set on the player Thrown if the platform was unable to get a texture in a reasonable amount of time. Often the platform specific media code is running /// in a different thread or process. Note: This may be a change from XNA behaviour
public GetTexture ( ) : DynamicTexture
Résultat DynamicTexture

Pause() public méthode

Pauses the currently playing video.
public Pause ( ) : void
Résultat void

Play() public méthode

Plays a Video.
public Play ( Video video ) : void
video Video Video to play.
Résultat void

Resume() public méthode

Resumes a paused video.
public Resume ( ) : void
Résultat void

Stop() public méthode

Stops playing a video.
public Stop ( ) : void
Résultat void

VideoPlayer() public méthode

public VideoPlayer ( ) : System
Résultat System