Class: TiltShiftFilter

PIXI.filters. TiltShiftFilter

new PIXI.filters.TiltShiftFilter()

A TiltShift Filter. Manages the pass of both a TiltShiftXFilter and TiltShiftYFilter.

Extends

Members

blurnumber

The strength of the blur.

endnumber

The Y value to end the effect at.

gradientBlurnumber

The strength of the gradient blur.

paddingnumber

The extra padding that the filter might need

startnumber

The Y value to start the effect at.

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.