Properties:
Name | Type | Default | Description |
---|---|---|---|
amplitude |
number |
30
|
The amplitude of the shockwave |
brightness |
number |
1
|
The brightness of the shockwave |
center |
PointData |
{x:0,y:0}
|
The |
radius |
number |
-1
|
The maximum radius of shockwave. less than |
speed |
number |
500
|
The speed about the shockwave ripples out. The unit is |
time |
number |
0
|
Sets the elapsed time of the shockwave. |
wavelength |
number |
160
|
The wavelength of the shockwave |
Members
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:
- {x:0,y: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.
- Default Value:
- 0
The wavelength of the shockwave
- Default Value:
- 160