C# Класс Reactor.RVideoManager

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
position Vector2
scale Vector2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public Pause ( ) : void
Результат void

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

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

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

public Start ( ) : void
Результат void

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

public Stop ( ) : void
Результат void

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

updates the player
public Update ( ) : void
Результат void

Описание свойств

position публичное свойство

public Vector2 position
Результат Vector2

scale публичное свойство

public Vector2 scale
Результат Vector2