Class: ShockwaveFilter

PIXI.filters. ShockwaveFilter

new PIXI.filters.ShockwaveFilter()

The ColorMatrixFilter class lets you apply a 4x4 matrix transformation on the RGBA
color and alpha values of every pixel on your displayObject to produce a result
with a new set of RGBA color and alpha values. It's pretty powerful!

Extends

Members

centerobject.<string, number>

Sets the center of the shockwave in normalized screen coords. That is
(0,0) is the top-left and (1,1) is the bottom right.

paddingnumber

The extra padding that the filter might need

paramsobject.<string, number>

Sets the params of the shockwave. These modify the look and behavior of
the shockwave as it ripples out.

timenumber

Sets the elapsed time of the shockwave. This controls the speed at which
the shockwave ripples out.

uniformsobject

The uniforms as an object

Methods

inherited applyFilter(renderer, input, output, clear)

Applies the filter

Name Type Description
renderer PIXI.WebGLRenderer

The renderer to retrieve the filter from

input PIXI.RenderTarget
output PIXI.RenderTarget
clear boolean

Whether or not we want to clear the outputTarget

Grabs a shader from the current renderer

Name Type Description
renderer PIXI.WebGLRenderer

The renderer to retrieve the shader from

Syncs a uniform between the class object and the shaders.