C# Class Californium.SpriteBatch

Afficher le fichier Open project: DatZach/HumanityAgainstCards

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Begin ( ) : void
Draw ( AnimatedSprite sprite, int depth ) : void
Draw ( BatchedSprite sprite, int depth ) : void
End ( RenderTarget rt, RenderStates states, bool depthSort = false ) : void
SpriteBatch ( ) : System
WriteQuad ( int offset, Vector2f position, IntRect rect, System.Color color, Vector2f scale, Vector2f origin, float rotation ) : void

Method Details

Begin() public méthode

public Begin ( ) : void
Résultat void

Draw() public méthode

public Draw ( AnimatedSprite sprite, int depth ) : void
sprite AnimatedSprite
depth int
Résultat void

Draw() public méthode

public Draw ( BatchedSprite sprite, int depth ) : void
sprite BatchedSprite
depth int
Résultat void

End() public méthode

public End ( RenderTarget rt, RenderStates states, bool depthSort = false ) : void
rt RenderTarget
states SFML.Graphics.RenderStates
depthSort bool
Résultat void

SpriteBatch() public méthode

public SpriteBatch ( ) : System
Résultat System

WriteQuad() public méthode

public WriteQuad ( int offset, Vector2f position, IntRect rect, System.Color color, Vector2f scale, Vector2f origin, float rotation ) : void
offset int
position Vector2f
rect IntRect
color System.Color
scale Vector2f
origin Vector2f
rotation float
Résultat void