C# 클래스 Reactor.RVideoManager

파일 보기 프로젝트 열기: reisergames/reactor-v1

공개 프로퍼티들

프로퍼티 타입 설명
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