Name | Type | Attributes | Description |
---|---|---|---|
options |
ShockwaveFilterOptions |
<optional> |
Options for the ShockwaveFilter constructor. |
Extends
- Filter
Members
DEFAULT_OPTIONS ShockwaveFilterOptions staticreadonly
Default shockwave filter options
Properties:
Name | Type | Default | Description |
---|---|---|---|
amplitude |
number |
30
|
The amplitude of the shockwave |
brightness |
number |
1
|
The brightness of the shockwave |
center |
The |
||
radius |
number |
-1
|
The maximum radius of shockwave. less than |
speed |
number |
500
|
The speed about the shockwave ripples out. The unit is |
wavelength |
number |
160
|
The wavelength of the shockwave |
The amplitude of the shockwave
- Default Value:
- 30
The brightness of the shockwave
- Default Value:
- 1
The x
and y
center coordinates to change the position of the center of the circle of effect.
- Default Value:
- [0,0]
Sets the center of the effect in normalized screen coords on the x
axis
- Default Value:
- 0
Sets the center of the effect in normalized screen coords on the y
axis
- Default Value:
- 0
The maximum radius of shockwave. less than 0
means the max is an infinite distance
- Default Value:
- -1
The speed about the shockwave ripples out. The unit is pixel-per-second
- Default Value:
- 500
Sets the elapsed time of the shockwave. It could control the current size of shockwave.
The wavelength of the shockwave
- Default Value:
- 160