Class: TwistFilter

PIXI.filters. TwistFilter

new PIXI.filters.TwistFilter()

This filter applies a twist effect making display objects appear twisted in the given direction.

Extends

Members

anglenumber

This angle of the twist.

offsetPIXI.Point

This point describes the the offset of the twist.

paddingnumber

The extra padding that the filter might need

radiusnumber

This radius of the twist.

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.