C# Класс Fusion.Engine.Media.VideoPlayer

Наследование: System.DisposableBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetTexture() публичный Метод

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
Результат DynamicTexture

Pause() публичный Метод

Pauses the currently playing video.
public Pause ( ) : void
Результат void

Play() публичный Метод

Plays a Video.
public Play ( Video video ) : void
video Video Video to play.
Результат void

Resume() публичный Метод

Resumes a paused video.
public Resume ( ) : void
Результат void

Stop() публичный Метод

Stops playing a video.
public Stop ( ) : void
Результат void

VideoPlayer() публичный Метод

public VideoPlayer ( ) : System
Результат System