C# Класс hyades.graphics.SpriteRenderer

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

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

Метод Описание
Add ( TextureRegion region, Color color, float x, float y, float width, float height, float rotation ) : void
Add ( TextureRegion region, Color color, float x, float y, float z, float width, float height, float rotation_x, float rotation_y, float rotation_z ) : void
AddString ( Font font, string text, float x, float y ) : void
AddString ( Font font, string text, float x, float y, Color color ) : void
AddString ( Font font, string text, float x, float y, float z ) : void
AddString ( Font font, string text, float x, float y, float z, Color color ) : void
AddString ( Font font, string text, float x, float y, float z, float scale, Color color ) : void
AddString ( Font font, string text, float x, float y, float z, float scale, float kerning, float rotation_x, float rotation_y, float rotation_z, Color color ) : void
Begin ( Camera camera ) : void
Clear ( ) : void
End ( ) : void
GetInstance ( GraphicsDevice device ) : SpriteRenderer
SpriteRenderer ( GraphicsDevice device ) : System

Приватные методы

Метод Описание
Warm ( GraphicsDevice device ) : void

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

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

public Add ( TextureRegion region, Color color, float x, float y, float width, float height, float rotation ) : void
region TextureRegion
color Color
x float
y float
width float
height float
rotation float
Результат void

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

public Add ( TextureRegion region, Color color, float x, float y, float z, float width, float height, float rotation_x, float rotation_y, float rotation_z ) : void
region TextureRegion
color Color
x float
y float
z float
width float
height float
rotation_x float
rotation_y float
rotation_z float
Результат void

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

public AddString ( Font font, string text, float x, float y ) : void
font Font
text string
x float
y float
Результат void

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

public AddString ( Font font, string text, float x, float y, Color color ) : void
font Font
text string
x float
y float
color Color
Результат void

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

public AddString ( Font font, string text, float x, float y, float z ) : void
font Font
text string
x float
y float
z float
Результат void

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

public AddString ( Font font, string text, float x, float y, float z, Color color ) : void
font Font
text string
x float
y float
z float
color Color
Результат void

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

public AddString ( Font font, string text, float x, float y, float z, float scale, Color color ) : void
font Font
text string
x float
y float
z float
scale float
color Color
Результат void

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

public AddString ( Font font, string text, float x, float y, float z, float scale, float kerning, float rotation_x, float rotation_y, float rotation_z, Color color ) : void
font Font
text string
x float
y float
z float
scale float
kerning float
rotation_x float
rotation_y float
rotation_z float
color Color
Результат void

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

public Begin ( Camera camera ) : void
camera Camera
Результат void

Clear() публичный статический Метод

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

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

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

GetInstance() публичный статический Метод

public static GetInstance ( GraphicsDevice device ) : SpriteRenderer
device GraphicsDevice
Результат SpriteRenderer

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

public SpriteRenderer ( GraphicsDevice device ) : System
device GraphicsDevice
Результат System