C# Класс Aiv.Fast2D.Sprite

Наследование: Mesh
Показать файл Открыть проект Примеры использования класса

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

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

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

DrawSolidColor() публичный метод

public DrawSolidColor ( float r, float g, float b, float a = 1 ) : void
r float
g float
b float
a float
Результат void

DrawSolidColor() публичный метод

public DrawSolidColor ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
Результат void

DrawTexture() публичный метод

public DrawTexture ( Texture tex ) : void
tex Texture
Результат void

DrawTexture() публичный метод

public DrawTexture ( Texture tex, int x, int y ) : void
tex Texture
x int
y int
Результат void

DrawTexture() публичный метод

public DrawTexture ( Texture tex, int x, int y, int width, int height ) : void
tex Texture
x int
y int
width int
height int
Результат void

SetAdditiveTint() публичный метод

public SetAdditiveTint ( System.Vector4 color ) : void
color System.Vector4
Результат void

SetAdditiveTint() публичный метод

public SetAdditiveTint ( float r, float g, float b, float a ) : void
r float
g float
b float
a float
Результат void

SetAdditiveTint() публичный метод

public SetAdditiveTint ( int r, int g, int b, int a ) : void
r int
g int
b int
a int
Результат void

SetMultiplyTint() публичный метод

public SetMultiplyTint ( System.Vector4 color ) : void
color System.Vector4
Результат void

SetMultiplyTint() публичный метод

public SetMultiplyTint ( float r, float g, float b, float a ) : void
r float
g float
b float
a float
Результат void

Sprite() публичный метод

public Sprite ( float width, float height ) : System.Drawing
width float
height float
Результат System.Drawing