Properties:
Name | Type | Default | Description |
---|---|---|---|
amplitude |
number | 30 |
The amplitude of the shockwave |
brightness |
number | 1 |
The brightness of the shockwave |
center |
PointData | [0,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 |
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
center PointData
The x
and y
center coordinates to change the position of the center of the circle of effect.
- Default Value:
- [0,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
The wavelength of the shockwave
- Default Value:
- 160