C# Class Reactor.RVideoManager

Mostra file Open project: reisergames/reactor-v1

Public Properties

Property Type Description
position Vector2
scale Vector2

Public Methods

Method Description
Draw_Video ( int X, int Y, int Width, int Height, int scaleX, int scaleY ) : void
Draw_Video ( int X, int Y, int Width, int Height, int scaleX, int scaleY, R4DVECTOR color ) : void
Draw_Video ( int X, int Y, int Width, int Height, int SourceX, int SourceY, int SourceWidth, int SourceHeight, int scaleX, int scaleY, R4DVECTOR color ) : void
Draw_Video ( int X, int Y, int Width, int Height, int SourceX, int SourceY, int SourceWidth, int SourceHeight, int scaleX, int scaleY, R4DVECTOR color, float Rotation ) : void
Draw_Video ( int X, int Y, int Width, int Height, int SourceX, int SourceY, int SourceWidth, int SourceHeight, int scaleX, int scaleY, R4DVECTOR color, float Rotation, bool FlipHorizontal ) : void
Pause ( ) : void
RVideoManager ( string videoFileLocation, double Crop, R2DVECTOR Position, R2DVECTOR Size, bool Loop ) : System

Video manager lets you add a video and play and stop and such

Start ( ) : void
Stop ( ) : void
Update ( ) : void

updates the player

Method Details

Draw_Video() public method

public Draw_Video ( int X, int Y, int Width, int Height, int scaleX, int scaleY ) : void
X int
Y int
Width int
Height int
scaleX int
scaleY int
return void

Draw_Video() public method

public Draw_Video ( int X, int Y, int Width, int Height, int scaleX, int scaleY, R4DVECTOR color ) : void
X int
Y int
Width int
Height int
scaleX int
scaleY int
color R4DVECTOR
return void

Draw_Video() public method

public Draw_Video ( int X, int Y, int Width, int Height, int SourceX, int SourceY, int SourceWidth, int SourceHeight, int scaleX, int scaleY, R4DVECTOR color ) : void
X int
Y int
Width int
Height int
SourceX int
SourceY int
SourceWidth int
SourceHeight int
scaleX int
scaleY int
color R4DVECTOR
return void

Draw_Video() public method

public Draw_Video ( int X, int Y, int Width, int Height, int SourceX, int SourceY, int SourceWidth, int SourceHeight, int scaleX, int scaleY, R4DVECTOR color, float Rotation ) : void
X int
Y int
Width int
Height int
SourceX int
SourceY int
SourceWidth int
SourceHeight int
scaleX int
scaleY int
color R4DVECTOR
Rotation float
return void

Draw_Video() public method

public Draw_Video ( int X, int Y, int Width, int Height, int SourceX, int SourceY, int SourceWidth, int SourceHeight, int scaleX, int scaleY, R4DVECTOR color, float Rotation, bool FlipHorizontal ) : void
X int
Y int
Width int
Height int
SourceX int
SourceY int
SourceWidth int
SourceHeight int
scaleX int
scaleY int
color R4DVECTOR
Rotation float
FlipHorizontal bool
return void

Pause() public method

public Pause ( ) : void
return void

RVideoManager() public method

Video manager lets you add a video and play and stop and such
public RVideoManager ( string videoFileLocation, double Crop, R2DVECTOR Position, R2DVECTOR Size, bool Loop ) : System
videoFileLocation string full string file path
Crop double take off time from the end of the vid, if the vid is 13 secs and you put 3 here you get the first 10 seconds of your video
Position R2DVECTOR position to play video, using 0,0 as origin
Size R2DVECTOR
Loop bool bool to tell weather or not to loop the video
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Update() public method

updates the player
public Update ( ) : void
return void

Property Details

position public_oe property

public Vector2 position
return Vector2

scale public_oe property

public Vector2 scale
return Vector2