C# Class Zeplin.DrawQueue

Exibir arquivo Open project: zumpiez/Zeplin Class Usage Examples

Public Methods

Method Description
AddCommand ( DrawCommand cmd ) : void
Draw ( ) : void
DrawQueue ( ) : System
NextLayer ( ) : void
NextLayer ( Vector2 parallaxFactor ) : void

Private Methods

Method 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 method

public AddCommand ( DrawCommand cmd ) : void
cmd DrawCommand
return void

Draw() public method

public Draw ( ) : void
return void

DrawQueue() public method

public DrawQueue ( ) : System
return System

NextLayer() public method

public NextLayer ( ) : void
return void

NextLayer() public method

public NextLayer ( Vector2 parallaxFactor ) : void
parallaxFactor Vector2
return void