C# Class Zeplin.DrawQueue

Afficher le fichier Open project: zumpiez/Zeplin Class Usage Examples

Méthodes publiques

Méthode Description
AddCommand ( DrawCommand cmd ) : void
Draw ( ) : void
DrawQueue ( ) : System
NextLayer ( ) : void
NextLayer ( Vector2 parallaxFactor ) : void

Private Methods

Méthode Description
ComputeParallax ( RenderTarget2D destination, Vector2 parallax ) : Matrix

Returns the parallax matrix if rendering to the screen (drawing to layer), or a 1,1 parallax factor matrix if drawing to another image.

Method Details

AddCommand() public méthode

public AddCommand ( DrawCommand cmd ) : void
cmd DrawCommand
Résultat void

Draw() public méthode

public Draw ( ) : void
Résultat void

DrawQueue() public méthode

public DrawQueue ( ) : System
Résultat System

NextLayer() public méthode

public NextLayer ( ) : void
Résultat void

NextLayer() public méthode

public NextLayer ( Vector2 parallaxFactor ) : void
parallaxFactor Vector2
Résultat void