C# Class Aiv.Fast2D.Sprite

Inheritance: Mesh
Mostrar archivo Open project: aiv01/aiv-fast2d Class Usage Examples

Public Methods

Method Description
DrawSolidColor ( float r, float g, float b, float a = 1 ) : void
DrawSolidColor ( int r, int g, int b, int a = 255 ) : void
DrawTexture ( Texture tex ) : void
DrawTexture ( Texture tex, int x, int y ) : void
DrawTexture ( Texture tex, int x, int y, int width, int height ) : void
SetAdditiveTint ( System.Vector4 color ) : void
SetAdditiveTint ( float r, float g, float b, float a ) : void
SetAdditiveTint ( int r, int g, int b, int a ) : void
SetMultiplyTint ( System.Vector4 color ) : void
SetMultiplyTint ( float r, float g, float b, float a ) : void
Sprite ( float width, float height ) : System.Drawing

Method Details

DrawSolidColor() public method

public DrawSolidColor ( float r, float g, float b, float a = 1 ) : void
r float
g float
b float
a float
return void

DrawSolidColor() public method

public DrawSolidColor ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
return void

DrawTexture() public method

public DrawTexture ( Texture tex ) : void
tex Texture
return void

DrawTexture() public method

public DrawTexture ( Texture tex, int x, int y ) : void
tex Texture
x int
y int
return void

DrawTexture() public method

public DrawTexture ( Texture tex, int x, int y, int width, int height ) : void
tex Texture
x int
y int
width int
height int
return void

SetAdditiveTint() public method

public SetAdditiveTint ( System.Vector4 color ) : void
color System.Vector4
return void

SetAdditiveTint() public method

public SetAdditiveTint ( float r, float g, float b, float a ) : void
r float
g float
b float
a float
return void

SetAdditiveTint() public method

public SetAdditiveTint ( int r, int g, int b, int a ) : void
r int
g int
b int
a int
return void

SetMultiplyTint() public method

public SetMultiplyTint ( System.Vector4 color ) : void
color System.Vector4
return void

SetMultiplyTint() public method

public SetMultiplyTint ( float r, float g, float b, float a ) : void
r float
g float
b float
a float
return void

Sprite() public method

public Sprite ( float width, float height ) : System.Drawing
width float
height float
return System.Drawing