C# Class Reactor.RScreen2D

Exibir arquivo Open project: reisergames/reactor-v1 Class Usage Examples

Public Methods

Method Description
Action_Begin2D ( ) : void
Action_End2D ( ) : void
Create_TextureFont ( string FontName, string FileName ) : RFONT
Destroy ( ) : void
Draw_Line3D ( R3DVECTOR start, R3DVECTOR end, R4DVECTOR color ) : void
Draw_Rect2D ( int X, int Y, int Width, int Height, R4DVECTOR color ) : void
Draw_Texture2D ( int TextureID, int X, int Y, int Width, int Height, int scaleX, int scaleY ) : void
Draw_Texture2D ( int TextureID, int X, int Y, int Width, int Height, int scaleX, int scaleY, R4DVECTOR color ) : void
Draw_Texture2D ( int TextureID, int X, int Y, int Width, int Height, int SourceX, int SourceY, int SourceWidth, int SourceHeight, int scaleX, int scaleY, R4DVECTOR color ) : void
Draw_Texture2D ( int TextureID, 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_Texture2D ( int TextureID, 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
Draw_TextureFont ( RFONT font, int X, int Y, string Message ) : void
Draw_TextureFont ( RFONT font, int X, int Y, string Message, R4DVECTOR color ) : void
Draw_TextureFont ( RFONT font, int X, int Y, string Message, R4DVECTOR color, float Rotation, R2DVECTOR RotationOrigin, R2DVECTOR Scale ) : void
Project ( R3DVECTOR Position, RSceneNode Node ) : R3DVECTOR
RScreen2D ( ) : System
Unproject ( R3DVECTOR Position, RSceneNode Node ) : R3DVECTOR

Private Methods

Method Description
IAction_Begin2D ( ) : void
IAction_End2D ( ) : void
Update ( ) : void

Method Details

Action_Begin2D() public method

public Action_Begin2D ( ) : void
return void

Action_End2D() public method

public Action_End2D ( ) : void
return void

Create_TextureFont() public method

public Create_TextureFont ( string FontName, string FileName ) : RFONT
FontName string
FileName string
return RFONT

Destroy() public method

public Destroy ( ) : void
return void

Draw_Line3D() public method

public Draw_Line3D ( R3DVECTOR start, R3DVECTOR end, R4DVECTOR color ) : void
start R3DVECTOR
end R3DVECTOR
color R4DVECTOR
return void

Draw_Rect2D() public method

public Draw_Rect2D ( int X, int Y, int Width, int Height, R4DVECTOR color ) : void
X int
Y int
Width int
Height int
color R4DVECTOR
return void

Draw_Texture2D() public method

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

Draw_Texture2D() public method

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

Draw_Texture2D() public method

public Draw_Texture2D ( int TextureID, int X, int Y, int Width, int Height, int SourceX, int SourceY, int SourceWidth, int SourceHeight, int scaleX, int scaleY, R4DVECTOR color ) : void
TextureID int
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_Texture2D() public method

public Draw_Texture2D ( int TextureID, 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
TextureID int
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_Texture2D() public method

public Draw_Texture2D ( int TextureID, 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
TextureID int
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

Draw_TextureFont() public method

public Draw_TextureFont ( RFONT font, int X, int Y, string Message ) : void
font RFONT
X int
Y int
Message string
return void

Draw_TextureFont() public method

public Draw_TextureFont ( RFONT font, int X, int Y, string Message, R4DVECTOR color ) : void
font RFONT
X int
Y int
Message string
color R4DVECTOR
return void

Draw_TextureFont() public method

public Draw_TextureFont ( RFONT font, int X, int Y, string Message, R4DVECTOR color, float Rotation, R2DVECTOR RotationOrigin, R2DVECTOR Scale ) : void
font RFONT
X int
Y int
Message string
color R4DVECTOR
Rotation float
RotationOrigin R2DVECTOR
Scale R2DVECTOR
return void

Project() public method

public Project ( R3DVECTOR Position, RSceneNode Node ) : R3DVECTOR
Position R3DVECTOR
Node RSceneNode
return R3DVECTOR

RScreen2D() public method

public RScreen2D ( ) : System
return System

Unproject() public method

public Unproject ( R3DVECTOR Position, RSceneNode Node ) : R3DVECTOR
Position R3DVECTOR
Node RSceneNode
return R3DVECTOR