| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
center |
PIXI.Point | number<Array> |
<optional> |
[0.5, 0.5] |
See |
options |
object |
<optional> |
The optional parameters of shockwave filter. |
|
options.amplitude |
number |
<optional> |
0.5 |
See `amplitude`` property. |
options.wavelength |
number |
<optional> |
1.0 |
See |
options.speed |
number |
<optional> |
500.0 |
See |
options.brightness |
number |
<optional> |
8 |
See |
options.radius |
number |
<optional> |
4 |
See |
time |
number |
<optional> |
0 |
See |
Extends
- PIXI.Filter
Members
Default constructor options.
The amplitude of the shockwave.
The brightness of the shockwave.
Sets the center of the shockwave in normalized screen coords. That is (0,0) is the top-left and (1,1) is the bottom right.
The maximum radius of shockwave.
< 0.0 means it's infinity.
The speed about the shockwave ripples out.
The unit is pixel/second
Sets the elapsed time of the shockwave. It could control the current size of shockwave.
The wavelength of the shockwave.

