API Docs for: 1.5.0
Show:

DisplacementFilter Class

The DisplacementFilter class uses the pixel values from the specified texture (called the displacement map) to perform a displacement of an object. You can use this filter to apply all manor of crazy warping effects Currently the r property of the texture is used offset the x and the g propery of the texture is used to offset the y.

Item Index

Properties

Properties

map

Texture

The texture used for the displacemtent map * must be power of 2 texture at the moment

offset

Point

The offset used to move the displacement map.

scale

Point

The multiplier used to scale the displacement result from the map calculation.