C# Class Nez.PixelGlitchPostProcessor

glitch effect where the screen is divided into rows verticalSize high. Each row is shifted horizonalAmount left or right. It is best used by changing horizontalOffset every few frames for a second then going back to normal.
Inheritance: PostProcessor
Exibir arquivo Open project: prime31/Nez

Public Methods

Method Description
PixelGlitchPostProcessor ( int executionOrder ) : System
onAddedToScene ( ) : void
onSceneBackBufferSizeChanged ( int newWidth, int newHeight ) : void

Method Details

PixelGlitchPostProcessor() public method

public PixelGlitchPostProcessor ( int executionOrder ) : System
executionOrder int
return System

onAddedToScene() public method

public onAddedToScene ( ) : void
return void

onSceneBackBufferSizeChanged() public method

public onSceneBackBufferSizeChanged ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
return void