| Name | Type | Description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
optional
Filter options
|
Example
displayObject.filters = [new GodrayFilter()];
Extends
- PIXI.Filter
Members
-
The alpha (opacity) of the rays. 0 is fully transparent, 1 is fully opaque
- Default Value:
- 1
-
The angle/light-source of the rays in degrees. For instance, a value of 0 is vertical rays, values of 90 or -90 produce horizontal rays.
- Default Value:
- 30
-
The position of the emitting point for light rays only used if
parallelis set tofalse.- Default Value:
- [0, 0]
-
General intensity of the effect. A value closer to 1 will produce a more intense effect, where a value closer to 0 will produce a subtler effect.
- Default Value:
- 0.5
-
The density of the fractal noise. A higher amount produces more rays and a smaller amound produces fewer waves.
- Default Value:
- 2.5
-
trueif light rays are parallel (uses angle),falseto use the focalcenterpoint- Default Value:
- true
-
The current time.
- Default Value:
- 0

