API Docs for: 2.0.0
Show:

TwistFilter Class

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

Constructor

TwistFilter

()

Methods

syncUniforms

()

Syncs the uniforms between the class object and the shaders.

Properties

angle

Number

This angle of the twist.

fragmentSrc

Array private

offset

Point

This point describes the the offset of the twist.

padding

Number

passes

Array an array of filter objects private

An array of passes - some filters contain a few steps this array simply stores the steps in a liniear fashion. For example the blur filter has two passes blurX and blurY.

radius

Number

This radius of the twist.

shaders

Array an array of shaders private

uniforms

Object private