| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
optional
The more optional parameters of the filter.
|
Extends
- PIXI.Filter
Members
-
Fill mode as clamp
-
Fill mode as loop
-
Fill mode as mirror
-
Fill mode as original
-
Fill mode as transparent
-
truewill divide the bands roughly based on equal amounts where as setting tofalsewill vary the band sizes dramatically (more random looking).- Default Value:
- false
-
Blue offset.
-
The angle in degree of the offset of slices.
- Default Value:
- 0
-
The fill mode of the space after the offset.
-
Green channel offset.
-
Minimum size of slices as a portion of the
sampleSize -
The maximum offset value for each of the slices.
-
Manually set custom slices offset of displacement bitmap, this is a collection of values from -1 to 1. To change the max offset value set
offset. -
Red channel offset.
-
Height of the displacement map canvas.
-
A seed value for randomizing color offset. Animating this value to
Math.random()produces a twitching effect. -
Manually custom slices size (height) of displacement bitmap
-
The count of slices.
- Default Value:
- 5
-
The displacement map is used to generate the bands. If using your own texture,
sliceswill be ignored.

