Barotrauma Client Doc
Barotrauma.Media.Video Class Reference
Inheritance diagram for Barotrauma.Media.Video:

Public Member Functions

void Play ()
 
void Dispose ()
 
Texture2D GetTexture ()
 
void SetFrameData (IntPtr data)
 

Static Public Member Functions

static void Init ()
 
static void Close ()
 
static Video Load (GraphicsDevice graphicsDevice, SoundManager soundManager, string filename)
 

Properties

int Width [get]
 
int Height [get]
 
float? AudioGain [get, set]
 
bool LoadFailed [get]
 
bool IsPlaying [get]
 

Detailed Description

Definition at line 14 of file Video.cs.

Member Function Documentation

◆ Close()

static void Barotrauma.Media.Video.Close ( )
static

Definition at line 39 of file Video.cs.

◆ Dispose()

void Barotrauma.Media.Video.Dispose ( )

Definition at line 126 of file Video.cs.

◆ GetTexture()

Texture2D Barotrauma.Media.Video.GetTexture ( )

Definition at line 147 of file Video.cs.

◆ Init()

static void Barotrauma.Media.Video.Init ( )
static

Definition at line 21 of file Video.cs.

◆ Load()

static Video Barotrauma.Media.Video.Load ( GraphicsDevice  graphicsDevice,
SoundManager  soundManager,
string  filename 
)
static

Definition at line 72 of file Video.cs.

◆ Play()

void Barotrauma.Media.Video.Play ( )

Definition at line 120 of file Video.cs.

◆ SetFrameData()

void Barotrauma.Media.Video.SetFrameData ( IntPtr  data)

Definition at line 164 of file Video.cs.

Property Documentation

◆ AudioGain

float? Barotrauma.Media.Video.AudioGain
getset

Definition at line 64 of file Video.cs.

◆ Height

int Barotrauma.Media.Video.Height
get

Definition at line 62 of file Video.cs.

◆ IsPlaying

bool Barotrauma.Media.Video.IsPlaying
get

Definition at line 138 of file Video.cs.

◆ LoadFailed

bool Barotrauma.Media.Video.LoadFailed
get

Definition at line 70 of file Video.cs.

◆ Width

int Barotrauma.Media.Video.Width
get

Definition at line 61 of file Video.cs.